My experience with a failing throttle position sensor is a very bad stumble when cruising at a steadily held speed. A certain rpm sets it off only when HELD at that speed.
My scoot ran flawlessly at idle...max speed....acceleration
...etc. Only stumbled bad at a certain cruise speed.
New throttle body w/TPS fixed it.