I had a tps sensor code... ...The service engine light pops up and then it's shifts extremely harsh 1-2 and a little on 3 to 4th is perfectly fine. Stops after turning off for a few minutes.
Connect a scan tool, look for "codes" but also examine the data stream. Find out what the computer wants you to know. This seems to be a "limp-home" issue. The computer is programmed to increase line pressure when certain sensor signals go out-of-range.
Follow service manual procedures for the codes you find.
For the record, when I bought my '97 K2500 7.4L/4L80E, I had a severe engine misfire and a torque converter clutch that never engaged. Figured I had two potentially-expensive repairs to make, and the price of the truck adjusted downward accordingly.
Turned out that I had a cracked spark plug in #8; and when the computer senses misfire, it disables the TCC. One spark plug fixed both problems, and the truck suddenly became an under-priced bargain.