I think you are on he rite track with the TPS but also don't leave out the possibility that the cruise switch or the high idle switch could be malfunctioning. Throttle is dead when truck is in high idle so that might be something to look at. Could be intermittently thinking high idle when...