Car starts but won't stay running on 1997 Pontiac Grand Prix GTP

When you go to start the car it will start but won't stay running. But I tried starting it in nuetral and it started and stayed running. But if driven somewhere and shut off doesn't want to stay running when started. 60964

Asked by for the 1997 Pontiac Grand Prix GTP
did you try another key?? it sounds like you have a security issue.