An error light, the motor running like crap under certain riding conditions? You turn it off and back on to reset it and it runs fine for time?

Sounds like a bad 02 sensor or emission control...