Sounds more like a bad ground connection, the water makes the connection damp and it works, when it dries out the connection fails and the engine shuts down. I would start by checking the grounds and connections from the engine to the body and battery to body first. Then check the power side as well. Check the ares around the ignition and throttle body. I'm doubtful it's a sensor as those would just fail if water got into them, they would work better when dried out.
I'm thinking this might not be easy to find because of the strange mode of failure.
Sunday, March 26th, 2017 AT 2:24 PM