rough with no info.but check fuel pressure possible low but when vacuum reference increases fuel psi it drives ok.also make sure primary and secondary injectors are hooked up properly
if you have fuel and spark it should run.unless timing off, the spark jumping in cap,or mecanical failure.it is possible if the coolant sensor for ecu is faulty and reading like -40 degrees .
when vehicle stalls and will not start. check for fuel pressure,spark,and confirm coolant temperature with something beside the stock gauge.once you figure out what your losing you can go in that direction