this is the first time it has done this
why is the check engine light flashing, no power, cylinder misfiring please help on 2003 Jeep Liberty
DON'T drive it like that!! The MIL flashing indicates that catalyst damage is likely. Pull plugs and inspect , Keep in order , they may aid in diagnostics. Follow ebans777 suggestions for further troubleshooting.
1 more answer
seek diagnostic, i would have compression test first, what cylinder misfires? check plugs, wires/coils.