yous haynes manuall has a ts section on this. im new to this forum, but it seems like there are lots of people that ask questions that are in the book, i guess you dont have one, but whatever... in the haynes manual it says:
*engine starts but stops immediately
1. loose or faulty electrical connections at distributor, coil or alternator
2. insufficient fuel reaching the fuel injector(s)
3. vacuum leak and throttle body
cant tell you much else without actually seeing it for myself