Hello mate
Sounds like its maybe going lean to me.... (skorpion does the same, same motor, when its running out of fuel)
Water in the bottom of the tank? I've had this, sommon with plastic tanks.
Blocked breather in the tank stopping fuel coming out?

Could also be this.
Does the SZR need the fuel pump? I removed the skorp one, its fine on gravity feed. The fuel pump is due to the pannier tanks on the 660 trailie application.
I'd run it till it cuts out. Then open up the crosshead drain screw on the carb float bowl. IS it flowing? Is it wet with water? Is there crap in there blocking the jets?
I's also check your earths, but I think it may not behave the same...
(And I've also had a generator/magneto stator go on an SRX.. Fine when cold, but after a mile or so it would start missing. NEver actually stopped tho...)
You can check the stator and coil resistances against workshop data with a multimeter. Coil HT lead & plug cap swap will eliminate these.
Good luck! Let us know how you go,
andy