If you still have the original Electrolok I vote for a bare wire shorting out inside the electrlok cable shield.

The reason it stalls is that just before you apply the brake you let off the gas. So the engine moves in the mounts. That movement then moves the cable shield so the bare wire shorts to ground. .