I would check the stator, well know weak spot on this bike, some people have had several replacements, I had one also failed, bad starting and/or erratic starting are symptoms. As is running for a short while until hot, then stopping and refusing to re-start.