Check you are actually using the correct capacitor; the value is usually on the pump rating plate. I wouldn't go more than 15% either way on value.
If the pump is in the open, give it some shade, these things really don't like the heat.
Generally, with capacitors you do tend to get what you pay for, so more expensive units may be longer-lived than the el-cheapo no-name units.