The function of the throttle position sensor is to electronically inform the PCM of the throttle’s angle. The PCM uses this input to regulate the fuel and ignition system.
Signs of wear include the “Service Engine Soon” light illuminating and poor engine performance.