Is the bike in nuetral when you open the throttle or is when you trying to pull away that it cuts out?
If it cuts out when you try and ride it, it could be your side stand switch. Follow the side stand switch wires. They will get to a joint (lugs), pull the lugs apart and short them.