Table lamp dimmer switch replacement