Mechanic's Rule: look at what you last effed up. I've had cutouts, they can be quite disturbing, like when you're merging into freeway traffic.
I recently had the tank connector for the pump and fuel level go bad. It stranded me twice before I caught on. During the second event, if I held the connector just so, it would run. But that was out of the question on public streets. I don't think it's your problem but it's easy to check: run at idle on the centerstand, and mess with the connector. The bike will run 5-6 seconds at idle without the pump, but you'll easily hear the pump whine cut off if the connector is bad.
Early K's didn't have a kickstand sensor, but if yours is not one of those, pity. I read they are a B*TCH to change. I'd hardwire the thing if it was mine, but both my K's are early models unafflicted by this nonsense. They just have to put up with me instead.
A clogged fuel filter makes the pump dump fuel to avoid overpressure, it's very noticeable, the pump is suddenly about three times as loud as it used to be. Easy to tell, so I don't think that's it either.
If the spark plugs didn't need the little metal caps, you'd notice, the wires might not fit snugly. You should be able to feel them "snap" on.
HES sensor has been suggested; this might be it. I took the cover off and tested mine with a hot air blower. Hot enough to sizzle spit but still ran okay, sensor not bad.
Disconnect and reconnect your ECU. Always good for a laugh, easy to do and who knows, just might be worth what you paid for the work.
Hope you get this solved. Bike misbehaving can be a real pain in the azz.