UK Car Repair Questions? Ask a Mechanic for Answers ASAP
Hi Im David, the only thing i can suggest is that you get a scan tool with capabilities of reading live data and freeze frame the data while driving when this condition occurs. that way we can tell what is happening with the engine sensors at shutdown.
checking in to see how its going
Given that you have replaced the crank sensor, I would be looking to use diagnostic tool that can view the live data, leave the vehicle for a good 24 hours, then read the data and compare the readings from the various temperature sensors, they should all be around 1 or 2 degrees Celsius from each other when cold and resting.
If it is a heat related issue, I question if the engine coolant temperature sensor is faulty, hence the start up okay from cold but as the engine warms up it struggles, possibly due to the ecu believing the engine is still cold and running in similar to 'choke' mode to warm up.
If you have no diagnostics, I would try replacing the engine coolant temperature sensor as the diagnostic work on them usually outweighs the cost of replacement.
The camshaft sensor would be worth checking also if fitted as it is likely that this would control injection timing.