2001 Yamaha warrior just shut off on me ?????

ok her is the story my 2001 yamaha warrior was running great till i hit a big bump in like 3rd gear and it just shut off on me… now it is getting no spark at all… lil bit of back round bough a month ago it was shutting off on me then if i let it sit awhile it would start found out it was the stator so i replaced it and also while in their replaced coil so those two parts are new … any ideas why it now gets no spark after i hit that bump… thanks

bump any one have an idea

anyone out their know how i can fix this?? im lost