Try not to let water get all over your sensors and connectors.
If it idles with the MAF unplugged, I would clean the MAF first. What air filter do you have? If you have a K&N, you might of put too much oil on the filter and contaminated the sensor.
Tony
1998 SVT Contour (B/MB) #542 3L
1998 SVT Contour (SF/MB) #1266 parts car
2000 SVT Contour (SF/MB) #1533 3L swap to begin!