Can you tell me a year & engine size?
What exactly are you asking? Are you familiar whith what, and where it's located? And why do you need to replace it?
Just trying to get the full picture.
First of all, Just because you have a code for TPS does not mean its a bad sensor. It can be out of adjustment (if it's adjustable). It can have a wiring issue, bad connection, broken or loose wire, bad connector, etc. It can also be a problem in the computer itself (not likely, but possible).
Do a visual inspection of the wiring going to the sensor. Also make sure the throttle plate opens and closes all the way with no binding and that the throttle body is clean inside.
If all looks ok, changing the TPS is not to expensive a fix to try. If there is no adjustment then you just put in on and your set. If it's slotted like I mentioned before, you will need a DVOM (Digital Volt Ohm Meter) or a scanner to set it. With the DVOM on 12v scale, the middle (signal to ECM) wire should be just under 1 volt, then tighten the mounting screws.