I replaced it with something that was close since I had no idea on a part number. I also did had to change the wiring. Found out the problem all along with that was that there was a diode in the starting circuit that rubbed through wire insulation under a shrink wrap. Had no idea the diode was there. Wasn't ab;e to find a wire diagram until way after the fact.
With all that said, that issue would have nothing to do with the engine running as it is. I solved the issue & everything ran fine for a number of hours & load tests.
That thar conundrum is shore nuff a tail twister! I mildly suspected an intermittent ground out, if that’s possible.
I ran into some problems with my diesel Farm Pro (aka Jinma) tractor. It was running fine then it started sputtering then it died. It wouldn’t restart fer nuthin’. Took off the sediment bowl and it was one gacked up mess. It to some elbow grease and some chemical additives to get it clean. I skipped over the primer pump and moved up to the fuel filter. When I got it removed, I found some real nasty wet paper-ish stuff, which poured out of the filter. Fortunately I had a new filter. Replaced the filter, flushed the lines, then attempted to prime to fuel system. After a good 30 minutes of operating the pump, I had enough. I pulled the pump off the engine, drained it (more hack) and got it working correctly then primed all the fuel system. Finally, it worked. Tried starting the tractor but it was still grumpy. Tried starting a little more and vroom, she started up with a big black cloud of smoke out of the exhaust pipe.
I can only hope there might be something here that can help solve yer problem(s).