I have a two speed Hayward pump that has the AO Smith motor on it. Have replaced the capacitor and the new one isn't working. Didn't work right away. i have replaced one before and it worked for about two weeks before it failed again.
Time for a different brand of capacitor, I think.
Or make darn sure you are getting the correct size one for your motor.