The throttle position sensor monitors how far open the throttle ... When a TPS malfunctions it can trigger a “check engine” warning light or cause the engine to idle roughly, surge, hesitate ...