First have your starter tested at an autoparts store. This is done for free.
For Yanmar's a typical Datsun (Nissan) vehicle from about 1972 thru 1978 general fits. And the modern replacements are OSGR types to work even better on our machines. These do not bog down, instead they really spin up the engine nicely.
Here are the modern type of starters these days, don't ever go backwards to the stupid solenoid type again.
View attachment 5659
And even these are sold by Parts ASAP too.
Just check your Yanmar part number to this one . . .
View attachment 5660
If the starter passes, then look at the VR. The newer VR's are solid state, potted, last much longer and are half the price. If you pay more than $20 for a solidstate VR, you paid way too much.