How do I replace a Hampton Bay Ceiling Fan Switch?

When it comes to maintaining or troubleshooting your Hampton Bay ceiling fan, replacing a faulty…