No dought its bad wiring , loose connection or a short grounding out your ignition coil it kill switch . Only reason bumps in the road would make the engine cut out . Dirtbikes jump Hellas and don't miss a beat . It's not your carb or fuel flow . Otherwise you'd described loss of power at high rpm .