A mechanical failure sparked a truck fire Friday afternoon, forcing authorities to shut down the ramp in Hillsborough County.