Motorcycle Questions? Ask a Mechanic.
Hi and welcome to the site, I’m Louie. Sorry you had to wait awhile but I’ll do my best to help.
Initially, let's check/review the basics. Proposed preliminary tests (if have not been done) after the "...5 minutes then shuts down...":
The above would determine if the issue is electrical/ignition or fuel delivery/starvation.