What you're experiencing is the dreaded Yamaha fuel cut. Roll off the throttle above 5k rpm and the fuel is cut to the injectors. Roll on the throttle again and there's nothing for a second then you have power. It's a horrible thing for sure and only a remap of the ECU will cure it. TPS...
I had a similar problem to yours, no fault code would ever appear when my bike had its issue. after a while a cylinder would drop out if I blipped the throttle, it was just one cylinder doing it but all of them at various times, I changed the coils, plugs, TPS, removed the throttle bodies and...