2004 Foreman Rubicon 500 Dies

I just bought a Foreman 500 and it was running great at the house. Decided to take it out to ride on a large plot of land. Rode it all day long it rode very strong with no issues. On the way back to the truck was driving at 45mph and it died. Turned it off and back on. Went back up to 45 and died again. Started it back and made it back to the truck. Backed it off the trailer tonight back at the house and it was idling for 5 minuted and died. It won’t start now. I’ve got plenty of fuel in the tank. I never saw any temp warnings or other warnings. Any ideas ?