Transmission wont shift

Linkages are good, transmission is throwing Code 22 for the TPS, and following the TMs, it then refers to replace the TPS.
You can take your index finger, push the shift knob button and glide through all gears. Gear 1 and 2 will not lock, all others will lock but the truck will not move. Have attempted this with the T Case in all positions.
Any tips?
You can take your index finger, push the shift knob button and glide through all gears. Gear 1 and 2 will not lock, all others will lock but the truck will not move. Have attempted this with the T Case in all positions.
Any tips?