truck won't start on 2001 Dodge Ram 1500

My truck won't start when it rains or snows. This only happens when the truck is sitting on my gravel driveway. The engine sounds & acts like it wants to start but it doesn't. I have pushed it into my garage and got it out of the weather and then it will start. I had the distributor cap/module replaced in May of this year.

Asked by for the 2001 Dodge Ram 1500
Were you able to fix the no-starting problem? I've seen a few throttle sensors cause issues, but they normally set a code in the engine module. do you have any codes stored?