We have a small black box connected to the negative terminal? on 2000 Ford Escort

We replaced the battery and the black box has to be hooked
up or car won't start, Is this just a ground ? And can we just
run the wires from it straight to battery since the box is broke?

Asked by for the 2000 Ford Escort