The Throttle Position Sensor (TPS) on a 2005 Dodge Durango with the 4.7L engine is located
on the throttle body itself. The throttle body is situated on the intake manifold, typically near the air filter housing. The TPS is a small sensor, usually with a wiring harness plugged into it, mounted directly to the throttle body's side. You'll likely see it on the side facing the engine compartment.
While a picture would be helpful for precise location, this general description should be sufficient to help you locate it. Remember to consult a repair manual specific to your vehicle year and engine for the most accurate location and details.