Is the throttle position sensor the problem?

My car sometimes hesitates to accelerate. I disconnected the throttle position sensor and my car run the same. The only thing different was that the service engine light came on.

The Devil2016-02-03T20:04:06Z

An OBD2 code tell if the TPS is malfunctioning.

Anonymous2016-02-03T18:57:56Z

what kind of car?