Honda sportrax 250ex problem

I have a 2002 Honda sportrax 250ex, my problem is that it dies at higher speeds and when it does it won’t let me start it unless I wait like 5 minutes. I noticed that it’ll start right up only when I’m able to get my green neutral light back on! Otherwise it won’t. Could t b a bad voltage regulator? Otherwise the atv starts and idles fine, it also runs fine but only if I hold the trottle for a little. When I cruise for longer that’s when it dies. Hope this makes sense and someone can help me out thank you