For future reference, when a diesel engine starts to run away, immediately cover/plug the air intake. It will cut right off no mater what else is the problem. Anything will do -- a rag, a hat, your t-shirt, etc. From the looks of it, the OP never even opened the hood.
S219 working is repair shop in military a Cat. diesel generator 100 kw had the throttle rod come loose and the engine went to full throttle quickly a man took old boot put over the air intake and it sucked it to the engine. a rag sock or shop cloth would do same. stop fuel flow best way
ken