TPS would cause the lockup issues. The only thing that will cause it to stay in first gear electronically is a govenor solenoid malfunction. The Transmission power relay supplies 12V to the govenor solenoid when the tranny isn't in limp. The PCM supplies the ground, and cycles the ground on and off to pulse width modulate the solenoid(and line pressure to generate a govenor pressure comparable to ground speed) which regulates the govenor pressure. If you have 12V accross the solenoid, it is closed and your govenor pressure equals zero. When it is equal to zero you will not come out of first gear. Here is a quick check to check the tranny out mechanically. Pull the relay under the hood. Start the truck the tranny will be in limp. Pull the selector to neutral, pause 5 seconds, then pull it directly to 1st. You will have first gear until you let it shift to 2nd or Drive. Then you will have to go to neutral again to release the pressure and let you be able to get first again. You will be able to go back and forth all day long from 3rd to 2nd, but you won't get first again until you get back to neutral. This will tell you about the mechanical condition of the tranny. Unless the solenoid is physically stuck closed, from contamination.