What would make a 2001 Pontiac gran am go dead all of a sudden going down the road?

if the engine stopped running but electronics still work, you could have run out of gas or fuel pump died; if the entire car cut off and it seemed like electronics were blinking or acting up, then the alternator could be the problem