Honestly..let'* diagnose this a little further.
Check those battery connection. Pull the cables off and literally look at them. B'ville love to corrode.
Next up, how low was your fuel when slamming on the brakes would make it stall? If the baffles in the gas tank have broken free.. sloshing occurs and stalling follows closely after the pump has no fuel to pump. I'm not only a member, I'm the president
I've had nearly every problem or issue possible with a 97.
Currently I don't suspect a crank sensor. And I'll drive over and beat Colin if he doesn't tell you how easy it is to swap that crank sensor yourself. it'* a 15 min job with air tools and three M6 x 1.00 x 75mm (or longer) bolts. Don't assume the bolts are in a harmonic balancer puller kit you rent, because I've never seen them as part of any kit, unless it cost $500 and was from Snap On.