:welcome:
buy an inline spark tester, fit it to the engine so you can see it while the mower is running.
If it still flashes after the engine starts to shut down, you have a fuel problem.
If it stops flashing and then the engine starts to slow down the module is most likely gone.
In either case you have just cut down the search for possible causes by 50% well worth the $ 10
That goes to the fuel shut off solenoid.