Instead of just replacing it, remove it from the side of the case and see if it will move. Then see it the shaft on the case will move, and how easily it turns. The vehicle may have to be in neutral with the wheels free to rotate to shift the case, as in elevated on jack stands or a lift. Align the shaft to the motor before assembly.