why my car shut off on me and wont start back up on 1996 Oldsmobile Achieva

i was told that it might be my timing chain because i was driving home and my car started to putt and then my check engine light started flashing on and off and my oil pressure light came on and as soon as i pulled in my drive way it shut off and i tried to restart it and it starts for about 5 seconds and then shuts off

Asked by for the 1996 Oldsmobile Achieva
If your timing chain snapped your car would not run, even for 5 seconds. The fact that you had a Check Engine Light come on means that you most likely have a code, so, get the code and start tracing the problem from there.
1 more answer
if the engine light came on i would get a diagnostic it may be a sensor causing your car not to start thats the least expensive thing you can do and it will give you the best outcome.