Check the fuel pump and the fuel filter. The fuel pump should come on when the ignition is first turned on, there should be several noticeable clicks as the pump pressurizes the system.
When the bike dies on the road, open the gas cap and listen for any sound like air rushing into the tank, that would indicated the vent tube is clogged. Sometimes when bikes sit for a long time, critters can make nests in the vent tube and plug it up causing there to be a vacuum in the tank that will prevent the fuel from flowing out.
Also check the electrical module on the back of the ignition switch, they have been known to over heat and go bad.