You may get a misfire code. Pray that this misfire code is not set due to tight valve lash.
Driving around for several weeks is plenty long enough to burn an exhaust valve seat and valve face and this would mean a major expense, as in valve job or cylinder head replacement.
Hopefully it will be nothing more than a faulty spark plug, plug wire, or something like that. If the plugs come out a compression test should be performed and if the engine is in decent shape you should see readings of 175 PSI or higher on all cylinders.
If you get a low one then the valve lash should be inspected and if an exhaust valve is tight then you’re likely in mechanical trouble.