If that doesn't work there are a couple of things I'd check, two relating to fuel and the other relating to ignition. I guess the question I have is that when it cuts out do the lights stay on and does the engine crank? Since I don't know I'll give you the fuel and ignition problems I see pretty often. Vapor lock and venting problems on many bikes can both have the same symptoms. The bike just runs out of fuel due to vacuum in the tank not allowing the fuel to be fed by gravity to the carb, or fuel doesn't get to the carb due to gas boiling in the fuel line. Both can be cured easily by modifying the venting on the right side gas cap. Unscrew the cap and look at the center inside. There is a spring loaded one way valve in the middle and it can malfunction by either not letting air in freely causing the vacuum, or it can seal up and not let the expanded vapor out causing pressure and flooding the bike. Use a small (1/16" or less) drill to add a small vent hole by drilling one of the 4 plastic flat spots that encircle the center valve. Be careful not to drill clear through the outer cap. When you are done it will allow pressure to bleed off or air to enter to prevent vacuum. The other thing to check in the fuel system is the vacuum petcock. Make sure the vacuum hose is connected to the manifold. This vacuum hose is what opens the petcock and if it loses vacuum the bike will run out of gas. Sometimes things that share the vacuum like Kuryakyn Hyperchargers can affect it also. Check the petcock by disconnecting the fuel line. There should be no gas flow. Crank the bike over and the vacuum should open the petcock and let the gas run out. If that works it's OK. A common source of electrical problems lies in an undercharged battery. Keeping your bike on a battery tender when not riding for extended periods eliminates a lot of problems caused by low voltage in a battery. The alternator in your bike is designed to keep a battery charged when you ride it , but not necessarily charge a dead battery without overheating it and possibly damaging the components. You will probably find that if your battery is too low, that the motor will not start because the ECM requires at least about 9 volts or more to work properly, so although the bike may crank, the engine will not start, leading you to suspect engine problems when it could be low battery voltage causing it.