Have you checked the fuel injectors? I had one where the coil resistance would go up and fail when the engine got hot sitting but would start working when driving. I checked it by running it til it warmed up and then shut it off. Put a meter on it and watched it. Because there is no collant running when it is sitting, the injector would heat up and fail. I could then blow cool air on it and watch the ohms go back down.