Running rich will give you some odd running issues.
Since this all started after it got wet, have you check the connectors at the PCM? They like to corrode in any event...
Check and see if coil is putting out a consistent spark. Just stick a plug into the coil wire, ground it where you can see it good, and have someone crank the engine. Spark should be strong (blue) and consistent. if it isn't, try replacing coil, if that makes no difference, replace crank sensor.
May not hurt to pull fuel line at rail, and capture some gas in a clear container. Let is sit for a few minutes, and see if there is any water in it.