The catch-all term for a person who marries people is an Officiant. Meaning, he/she officiates (performs) the marriage ceremony. If it's a religious ceremony, the officiant might be a Minister, Priest, Rabbi or other type of clergyman. Civil ceremonies can be officiated by a Judge, Justice of the Peace, Notary, or anyone empowered by law to perfom a marriage.