My experience. Bike would run fine for hours on end then all of a sudden it would just quit, usually on deceleration. I would pull over to the side of the road and wait a couple of minutes and it would fire right back up. Might cut out a few more times right after the first one and then would run fine for hours. This was giving me fits.
Fixes I tried.
1: Jumpered the side stand switch. Didn't work but now I can start it on the side stand.

2: Fuel filter. Didn't work but it did seem a bit blocked; could still blow through it but with resistance.
3: Fuel pump. Didn't work, but the bike seemed to run better after replacing the fuel filter so I thought that maybe the fuel pump was getting weak.
4: Fuel tank electrical connector. Fixed it. :clap: :riding: :clap: :riding:
Got a 4 pin trailer style connector from Napa and soldered in the wires (even had the same colored wire pattern) with shrink wrap on each joint then wrapped all together with electrical tape. Works a charm.
Left to my own diagnostic skills I don't think I would have ever considered a wiring connector to cause such a problem.
Thanks a bunch.