If your 3.8 Grand Prix runs for two or three minutes and then starts surging up and down before stalling, the fuel system is a prime suspect.
A failing fuel pump may not be holding pressure, and a clogged fuel filter or a blocked tank filter can cause the same problem. Once it stalls, the engine may refuse to stay running unless you keep feeding it gas. Start by checking fuel pressure and inspecting those filters.