Sounds like the switch may be partially engaged, not providing a complete circuit.
If you can unplug the switch, and the light goes out completely, then I'd change the switch out.
But, if you unplug the switch, and nothing changes, then it's a wiring issue.