Have you read up on the ferrite bead fix yet? What cps (crank position sensor) do you have in the truck? The housing color is kinda good indicator, colors are grey blue and black. If unknown I'd recommend getting oneI checked and wiggled and rechecked the wire looms and valve cover connections. I’ve been chasing this intermittent issue for over a year. When it’s dry, everything is great. The minute I hit the wipers or a puddle things get stupid. I opened the IDM vent because I saw the corrosion on one side. Didn’t hear any water sloshing since it was 5* in the garage. Very little moisture when it thawed out. The vent had RTV in it, but there was corrosion all the way around the hole on the RTV. First IDM failed at 12 years. This one is 11.
Check the hot wire see if you get continuity from the plug on drivers valve cover to harness plug pass side. It's the middle wire on the uvchIt presently has a black cps that was good when changed to the gray one. Does the same thing with the two black and gray that I have. And only running on the drivers side cylinders.