Take the phone to a repair shop. The switch can't be disabled and needs to be replaced.
Even if I thought it wise to do so, I could not help you fix the hardware unless I was able to look at it and see just what was wrong. And, as I said, I'm not about to tell someone to do something to...