James Phillips,
Since you have eliminated the electrical noise problem with the by-pass wiring kit, have you checked the voltages at the TPS?
The signal voltage with the trottle closed should read 1. 0 volts
plus or minus . 2 volts and smoothly increase to between 3. 5 and 4. 5 volts at wide open throttle.
Also, have you checked the transmission throttle linkage adjustments?
If your truck has had the throttle cable replacement done under the recall, lord only knows where the dealer set it.
If you have a manual, it should show how to set it correctly.
Make sure the throttle return springs are all connected and in good shape.
Make sure the contacts are clean where the engine speed sensor plugs into the wiring harness.
As DMC said, check the brake light switch.
A new TPS is expensive, so clean it if you can. Replacement should be the last thing you try.