Hello and welcome to JustAnswer!
The ABS pump motor is controlled directly by the ABS control module through a permanent mounted relay integral to the circuit board. What sometimes happens on these systems is the relay contacts will stick closed and it runs the ABS pump constantly unless the fuse is removed or the module is unplugged. The ABS module will need to be replaced to repair this problem.
Where is the relay located
The motor that is running is the pump motor. It's controlled by the ABS module and the module is what will need to be replaced. I don't have access to a full parts catalog to get an exact price on the module, but I know it's in the $300 range.