sorry to say its a common jeep wrangler problem,
It could be two things, the resistor next to your fan, but most likely its the switch itself.
The cheaper fix is try replacing the resistor block, if it doesn't work, take it off and return it, it is an 80$ or so fix by replacing the heater fan controller. They don't sell the switch by itself(autozone,pep-boys).