While driving, engine suddenly stalls

The first thing that I would check for is a defective ignition switch.
On a 17 year old car, it is very possible–even likely–that the ignition switch is simply worn out.