P0339 - Crankshaft sensor signal intermittent. I would suspect a connection issue with that code and the symptoms you have. I would check the connector for a pin fit problem, then test the wiring The Pink w yellow wire is a 5 volt feed to the sensor, it also feeds the TPS and the oil pressure sensor. The Dark blue with gray wire is the sensor ground and the brown with light blue is the sensor signal. Any of those could be the issue. With the engine cold, start it, once it shuts down then pull the connector and test to see what is missing. I sort of suspect it could be the 5 volt feed if the oil sensor is involved, they have a bad habit of failing and causing issues and it's possible it is shorting the 5 volt feed which would shut the engine down.
Image (Click to make bigger)
Tuesday, August 25th, 2020 AT 6:26 PM