When the bearing goes bad, it can wreck the internal magnetic pickup for the abs sensor. So once replaced, the abs, traction and 4wd lights will go back out. Get the codes read and see which sensor is not reading, and that's going to be the same position for the bearing.