I have not done this, but this would be the process:
Mark your starting position on both gears. Slide the larger gear left, advance one tooth, slide it right, check for noise. Keep cycling through the teeth until you find the one that is quiet.
On mine (Singer 144) the smaller gear has 15 teeth, so that's 15 positions to check. But unless you did some screw swapping (set screw for position screw) I expect you to only need to go one tooth over to find the original position.