Are all ceiling fan switches interchangeable?
Yes, this is fairly standard.  I wouldn't worry about the precise part number.

Your man at Home Depot should be able to help you find a replacement.

Any switch that will fit the hole will work.