A judge ruled a man sharing Sen. Dan Sullivan's name can appear on Alaska's Republican Senate primary ballot.