I would start byt checking codes, the IMRC could give you this problem, specially above 3000rpm when it's suppoused to open, and at least in my 98 tour it does not give a cel, have to scan code,
you could also check the gas filter and the fuel pump, that could give you this problem also in low rpm


1998 Contour V6 2.5L ATX