54 - camshaft reference circuit not detected
Based on the multiple symptoms I think I'd head to a salvage yard and fetch a different distributor to try. Those on the 3.0L give extremely little trouble but that's what it sounds like. There's two optical pickup assemblies in it. (My daily driver is an '88 Grand Caravan with the 3.0L and I have an '89 Grand Voyager with one too). One pickup is for low speed and one is for high speed. As I recall, the high speed one means anything above cranking speed.
If the problem occurs when it's raining or during periods of high humidity there could be moisture condensing on one of the optical pickups. The clue is the engine will start after the heat from running it a few minutes earlier migrates up and burns that condensation off.
Your engine also uses a crankshaft position sensor. Those often fail by becoming heat-sensitive. They fail when that engine heat migrates into them, commonly from the lack of air flow right after the hot engine is stopped, then they work again when they cool down, typically after a half hour.
In this case the fault code is for the camshaft position sensor. That's the optical pickup in the distributor. If the signal is missing from either the cam sensor or the crank sensor, the Engine Computer will not turn on the automatic shutdown (ASD) relay during engine cranking. That could result in the code 42 and it WILL result in a no-start condition. That relay sends current to the ignition coil and injectors.
Code 35 refers to the radiator fan circuit. We'll tackle that next if necessary.
Monday, June 10th, 2013 AT 9:54 PM