Retired teacher Dan J. Sullivan made the cut in Alaska’s open contest that is sending the top four candidates from either party on to the general election, according to multiple projections.