Is the engine actually misfiring or is the computer misinterpreting it as such?
You will know if you have random misfires, the engine will not be running smoothly.
If your engine is running smoothly, consider the possibility of a crankshaft position sensor issue, or wiring issue:
https://www.newtis.info/tisv2/a/en/e...rs-1-6/Xayhvs6