1993 mercruiser 5.0 alpha 1 gen 2 .engine will miss like someone turned the key off then back on in a matter of a second rpms drop from 4000 rpms to 2000 rpms then back up to 4000 rpms . mite do it again 10 minutes later . also diesels for bout 5 seconds when I shut it off .
Gasoline engine "Dieseling" or "run-on" is typically a result of high cylinder temperatures combined with a lean low speed fuel/air mixture.
Find out what is causing the high cylinder temperatures, and perhaps fatten up the low speed fuel/air mixture.
Some owners have found it helpful to allow the engine to cool down a bit before shutting off.
The above does not address your main issue that is occurring at high speed operation!
new distributor last year . timing is perfect .
Which ignition system, and how did you adjust the spark advance?
Did you set BASE/Initial advance ONLY, or did you take it further and look at what the progressive and total advance are doing?
Excessive ignition advance will cause Detonation (not pre-ignition), and may cause what you have described.
Typical causes of Detonation:
poor fuel quality.
excessively lean fuel/air mixture.
high cylinder temperatures.
excessive spark lead and too early.
poor cylinder combustion chamber design.
If by chance (key word "if") your issue is being caused by Detonation, it will raise cylinder temperatures and it will perpetuate itself.
If left unattended, Detonation will cause severe engine damage.
All that having been said, the above is one possibility only....... you will want to also consider other component failure.