i doubt its the wires they may need to be replaced anyway but it sounds like coil pack or module you can test the wire with an ohm meter you should have in the range of 1000 ohms per foot of resistance. crank pos sensor would cause a prob with all cylinders not just 2 is this intermitant? or constant on the 2 cylinders