You can see if the thread pitch is correct by placing the new screw ontop of one of the original screws if you have one. They should interlock and have no gaps. If it shows a gap than its not correct.
You could heli coil it if you need new threads or use a keensert if you have enough room for...