Margaret - there will be a capacitor in your foot pedal already - just cut it out and don't bother replacing it.
Capacitors don't last forever - they eventually disintegrate - get hot and smoke.
The capacitor in your pedal is there to suppress radio interference and with modern TVs and radios there is no need for it any more.
Good Luck...
June 2016