Here are a few things you can check to troubleshoot the TPS:
1. Electrical connections: Check the wiring harness connector to the TPS for any loose or damaged connections. Make sure the connector is properly seated and that there is no corrosion or damage to the pins.
2. TPS sensor: Inspect the TPS sensor itself for any signs of damage or wear. Look for any cracks or broken components, and check the condition of the sensor's shaft and lever arm.
3. Throttle body: Check the throttle body for any dirt, debris, or obstructions that could prevent it from closing properly. Clean the throttle body and inspect the throttle plate for any damage or wear.
If you do not find any obvious issues with the TPS or the throttle body, you may need to use a multimeter to test the TPS sensor's resistance and voltage output. The specific test procedure will vary depending on your vehicle model, so you should refer to a reliable source of repair information for your specific vehicle.
If the TPS is found to be faulty, it will need to be replaced. It is important to use a high-quality replacement TPS to ensure proper engine performance and reliability.