My 4-108 STOP solenoid (yes, folks, there is one) failed about 15 years ago.
I bought a replacement. Of course, it had different mounting flanges, etc., because Perkins
has several models of every engine. I paid a lot of $$$$ to have the new one machined to fit where the old one was. Turned out it didn't have enough oomph to pull the lever to stop the engine.
In frustration I grabbed a thin white wire coat hanger, straightened it out, and cut it and bent it to fit. I put a small loop in the end for fingers.
That coat hanger is still in place and has worked flawlessly for 15 years!
Where to hook it?
There are at least two models of the fuel pump
, but each has a tear-shaped lever with 3-4 holes in its longish dimension and a whole bunch of little holes around the fat end. This lever will stop the engine when pulled back.
Look carefully on your engine to see where the stop solenoid is fitted. Then, you'll know where to attach the coat hanger when the time comes :-)