When it shuts off, take the can of starting fluid out of your pocket (hint, hint) and spray it into the air cleaner.
If the bike fires: It's fuel related. Likely a pinched line or blocked up internal tank, fuel screen.
If the bike doesn't: It's electrical. Could be a faulty (when hot) cam sensor, or even an ignition switch with worn internal contacts.
“When the going gets weird, the weird turn professional....” ~ Hunter S. Thompson~
R.I.P. Rubberdown. 1971-2012
"Your Jedi Mind tricks will not work on me...... ~Misinlink-2016~
2005 E.G. Classic
S&S 510 cams
Baisley Oil pump spring
SE 3.5" pipes
S&S adj pushrods