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

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
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
(2) Answers
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.
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.