How do you replace a dimmer switch for a 1987 Chevy truck 4x4?

how do you replace3 dimmer switch 1987 chevy silverado 4 x 4