If fixing the ground does not help, check the wires that go from the controller box to the ABS pump motor. These are located on top of the motor, so are kid of hard to get at.
Twice I've replaced the entire ABS controller/pump unit (the thing in the frame rail under the driver seat area with the brake lines going in and out). Both times, the two heavy gauge wires (red and black) the power the motor had corroded and broken off where they enter the motor body.
Usually that will give an "Open Motor Circuit" error code, but if the wires are still connected, but severely corroded, you might get others.
Matt