1993 honda civic dl

the honda has 40,000 miles I’m second owner I,m having a problem when she warms up. she’s running fine until then,when I hear a click sound from the engine compartment she starts to run crappy let up on the gas she starts to run fine then back to crappy changed fuel filter, cap, rotar, spark plugs I was wondering if the oxygen sensor would cause that.

If you have AC, check the engine ground to the body. This was an old Toyota problem. When AC came on, the engine almost quit. Check all the battery connections too.