The throttle pedal position sensor is located on the Throttle body that your air cleaner attaches too and your gas pedal cable connects to as well.
The throttle position sensor should be located on the shaft that the butterfly mounts to which moves back and forth when you press on and release the gas pedal.
There should be a wire and plug attached to the throttle position sensor that connects to the vehicles computer.