My grandmother's 2001 (mk4 facelift) Fiesta is underused these days, but I ran it on Saturday without problems. On Monday, presumably after getting fully hot, it stalled out and had to be limped home. After being stopped for a while, it would restart, only to stall again. As we got it onto the driveway, it seemed to shake off whatever was causing the issue, but it's now back. I have the car's front wheels up on ramps and it won't start.
This is now happening whether the engine is hot or cold. The engine turns over correctly and will intermittently fire, but immediately stalls. There are new HT leads, ignition coil pack, fuel pump and relay. When the ignition is turned on, the fuel pump buzzes to pressurise the system as expected. The battery is charged. Every few starts, if I give it some throttle, sometimes up to 50%, the engine will stay running for maybe 1 second, then stop again.
The local mechanic recommended the crank position sensor. I bought a replacement; it won't fit in the hole, but I have compared the resistance readings to the original sensor and they are both within tolerance. Additionally I have an OBD reader, and while cranking I could see an RPM reading when the sensor was connected, which stays zero if the sensor is unplugged. Unplugging also prevents the engine firing at all and raises an error code as expected, so I don't think it's the crank sensor.
The ECU had logged a code P0131, indicating the lambda sensor could be faulty, but as I understand that won't stop the engine from running. There are no other error codes logged, and clearing the P0131 hasn't caused new ones to be added.
The car has had a history of fuel-delivery problems last year, requiring the new fuel pump relay and pump itself. Unburnt fuel does seem to be going through the engine so the injectors are firing and the fuel pressure seems correct, as the engine will sometimes run with the throttle opened. I can't tell if it's losing spark, fuel or both intermittently. Any suggestions appreciated.