I just had the same problem fixed on my 98.5 contour sport.

Ford techs said it was the ignition wires arcing.

Greg