Ceiling Fan capacitor question
Yes they are speed control capacitors.

For clarification as another poster pointed out - one is for speed settings (4.5uf with resistors - aka RC network) the other 5uf is a run or start capacitor. 
The link below is a package with 3 capacitors built in - note it does not have the RC network for the speed control but has your 5uf - 250Volt you can use for the start/run capacitor, it might work to replace both of your units - there are others that have these 3 capacitors with 5 wires as well making it easier to install.

Capacitor 4.5uf/5uf/6uf

other Ceiling Fan Capacitors