How long since a tune-up? Any applicable trouble codes? If you have a distributor, check for moisture under the cap. On a clear day, you can use a spray bottle with water in it, spray the spark plug wires, see if engine acts-up?
Crank shaft sensor possibly getting wet and conking engine. What happened?