could be that your rotors are in need of turning or you need a front end alignment and when it starts shaking your ignition control module isnt reading or may be loose thats what controls flow of your fuel through your injectors and when that happens your car shuts off.........just a thought