check for any fault codes, that would be a start,. if not it would appear to be wiring or connection related some where. also when u say running, is it when in motion it shuts down or is it just sitting idling?
Just sitting idling and in motion as well .. there some wires there that connect to the main harness for extra GROUND I moved them just in case and still doing the same I have some codes but can't remember which ones .. I think it's a non communication or something similar I've had a few skid steers before and never had this happened