Hey man... looks like the TPS is a cinch to replace on the 4.7L and doesnt require programming:

REMOVE
1) Remove air duct and tube at throttle body
2) Disconnect TPS electrical connector
3) Remove two TPS mounting bolts
4) Remove TPS from throttle body
INSTALL
The throttle shaft end of the throttle body slides into a socket in the TPS. The TPS must be installed so that it can be rotated a few degrees. If the sensor will not rotate, install the sensor with the throttle shaft on the other side of the socket tangs. The TPS will be under slight tension when rotated.
1) Install TPS and two retaining bolts
2) Tighten bolts to 7 N-m (60 in lbs) torque
3) Manually operate throttle control lever by hand to check for any binding of the TPS
4) Connect TPS electrical connector to TPS
5) Install air duct/air box to throttle body