If its the same as the mondeo its behind the brake servo in the engine bay. Had the same problem with my ST24 & it was down to a knackerd connector on the TC/ABS module. Mine needed a new module & wiring loom
Never got it fixed as I traded the car in but it wasn't a cheap fix from memory.