Just been through similar on my NH350. I found a local vintage tractor enthusiast who looked at the mag and found the magnets were weak.
He said my mag had been rewound. Also the bearing shorted to earth sometimes. The tractor guy had built a jig for magnetising mags. I did also have a carb problem.