Make sure that the capacitor you purchase is rated to withstand a high enough voltage. Assuming the rating is specified as WVDC (Working Volts DC), and assuming that you are in the USA or another country where the line voltage is around 120 volts AC, I wouldn't choose anything less than 400 WVDC, to assure long-term reliability.
Regards,
-- Al
Regards,
-- Al