If you think the TPS is causing a problem, unplug it at the harness and ride the bike. You'll loose a little power but if it is sending a poor signal, by disconnecting it, you know.
TPS along with engine rpm and the trans gear indicator tell the ECU what timing variations to make.
You should not remove the TPS because if you do, you have to reset it and that can be touchy. The manual expalins the procedure for eletrical tests and adjustment. If you do not ever remove the TPS, it never needs to be touched unless it fails. TPS have been on bikes over 20 years. Nearly ever 4S MX has always had one, many 2S do too.
It sounds to me like you are over analyzing this and may well 'dig yourself a hole in the wrong part of the yard'
Try downshifting and ride in a lower gear.