His confirmation fills a post that had been vacant in a period marked by spikes in antisemitic incidents both in the United States and abroad.