can I wire a ceiling fan to a 4 DP toggle switch?
There is, in general, two types of ceiling fan motors: those that have multiple taps from the stator windings or those that have a single stator winding with several capacitor values that can be switched in series with that winding.

This is most easily done with a rotary switch.