A quick check for pitch if you know the diameter is correct -
hold your original screw against the new one so the threads fit into each other, hold them up to the light , if they fit with not much light passing through and teeth fit to each other they are the same pitch.