does the fuel tap work ok ?the vaccum tap fuel tap should only let fuel run out of the tap when there is a vaccum being pulled on the diapragm.also another possibility is that the primary ignition coil has a fault i have know it before on 50's and 125's and also motocross bikes are prone to it.The coil itself stops producing current when it gets to a certain temp,i would check the spark is ok when the bike cuts out so carry a plug spanner and make sure you can get to it when its dies take the plug out put it back into the ht cap and rest it on the engine on a clean metal part or a clean metal part of the frame and turn the engine over and see if it sparks ok.
adam bike doctor, January 2010