engine on on 2004 Mazda Tribute

My car ran fine until it rain very hard here. I started it the next day and the check engine light is on and it ran a little ruff.

Asked by for the 2004 Mazda Tribute
Sounds like a classic example of ignition spark leakage due to insufficient insulation of the coil boots, where the mount to the spark plug. The boots should be replaced, as well as the plugs while you're there.

If problems continue, an actual coil could be faulty, but start with the basics...

...or better yet, have a diagnostic test performed to really hone in on the issue.