I agree the cam sensor is unlikely to fix this issue. Heat related issues are usually ignition. If you are comfortable the ICM and coils are not the issue, that leaves the crank sensor, but the symptoms are unusual. The other thing that comes to mind is the fuel pump doesn't like the heat either. I don't know if it is possible to vapor lock a pressurized system, but I would suggest checking the pressure when it acts up.