"The code was for ignition."(ignition input).
"Is it a faulty coil pack?"
Could be.
Specs from Autozone
But I would check CKP (and connector) and Radio interference connector first. You might have a loose connector or chaffed wire.
Edit. Did you drive over a puddle or was it raining?
One other thing "Pre98". How do the wiring harness look?