Could a bad spark plug wire or fouled plugs cause my 99 Honda civic to die sometimes?

Could a bad spark plug wire or fouled plugs cause my 99 Honda civic to die sometimes?

No, it will only cause misfire, but a bad ignition switch can. There was a recall on 1999 Civics for bad ignition switches that can do exactly what you describe… See the last recall in the source.