Are you saying you lose power to the entire car when it has a fit?
When a car sputters berfore it stalls, I usually look toward fuel first. If it has "fast stall" usually means you lost spark. Could be a few things, ignition switch, bad pcm, ignition module, crank/cam signal lost, bad connector somewhere.