if the engine has been overfilled
I'm assuming that that you've already drained the oil back to its normal level
so next step should be to replace the spark plugs with new as once contaminated then they are never the same
and I'd also check for a lack of fuel pressure from the electrical pump at the tank.
1st thing to try is to remove the fuel filler cap and then flick the ignition on whilst listening for the brief ‘buzz’ of the pump
If the connections to the pump are corroded or damaged then the pump could stop at any time or could not be running at full speed. Check that its relay switches in and out and the relay contacts are clean and bright – replace the relay if in any doubt and do the same for the fuse,
Ideally measure the pressure at the injector rail (should usually be around 3Bar / 45psi +) and if this is low check the pump as described and also consider changing the fuel filter as if this partially blocked this too will reduce pressure.
and I'd also check for a vacuum leak post MAF meter
the best way to locate a leak is to have the engine running and warm and then spray lighter gas /propane around each joint in turn. If the engine rev's up you've found your leak.
Now you might think that spraying lighter gas around a hot engine isn’t wise, however the flash /ignition point of gas is about 400°C so you need a naked flame or spark to set it off and I’ve used this method for many years without incident.
Work your way through each possible joint one at a time and you should find it. I use a slightly flattened piece of brake pipe and some rubber hose from the can of lighter gas to provide a spraying 'wand' and allow a direct blast of gas into each area, especially those difficult to reach with large implements.
Might also be worth checking the wiring and connector to the airflow meter for any signs of corrosion or damage. you can do a quick fault find if you unplug the meter and run the engine without it.
if the engine condition is the same then chances are the meter or the connection to it is faulty
It’s also worth cleaning the MAF sensor wires, as they can get coated with dirt over time which then offsets the reading
Use some contact cleaner or brake cleaner to spray onto the wires to remove the dirt – on no account touch the wires with anything as they are very fragile