Bike won't stay running

Thanks for the good suggestions. I'll start with the vacuum lines and the position sensor tonight and get back with you all
 
Well, can't find the problem. The TPS tested fine. No damaged, cracked or leaking vacuum lines. I road a few times and couldn't get it to happen again. It's a mystery. Something happened that day but I'm not sure what or we hy.
I did reinstall Penner's 20352 map and I made the adjustments to run with the secondarys removed. Today I went out for my longest ride since Thursday with on problems.
If this comes back I'll let you all know.
Bad gas maybe