Ok, you have OBD1 coil pack setup. Engine speed fault will appear with koeo. Next time this happens, check you have spark and possible check for fuel injector signal. No spark or injector pulse more related to engine crack sensor, also possible check the terminals on ECM harness there on oil in the connector. You may want check fuel pressure too. Don't replace parts yet once you verify your issue. In rare cases I have seen oil pressure being too high causing car not start, do to pressure relief valve stuck closed, oil will be beyond 6 bar. Keeping the valves open from the lifters. But that just rare case. Also disconnect round tub connector and clean the contacts too. Sound like fuel or spark issue.