So I figured out the problem. Long story shortish... when I first got it I took it to get the carb cleaned because I didn't wanna get into all that at first. Months later the fuel pump started failing so I changed that. After thinking about it I realized the fuel filter was backwards the whole time lol. When I changed the fuel pump I put it in right, but when they tuned the carb it was backwards. I flipped it around and it runs great as long as the fuel filter is backwardsI would say check the TPS, since it is carb bike Yamaha , one of the first things you check with any fault code on these bikes is the TPS