Before you start ordering parts, you really need to run a diagnostic and look for codes. In addition to the TPS, there are also accelerator position sensors that could be the source of your problem (although I doubt that would give your symptoms). The other possibility is air leakage in the throttle valve cylinder head. The Yamaha shop manual for my engine says to look for a trouble code first, then check the O-rings and gaskets in the intake manifold, surge tank, an throttle body.