Mr. Taylor, a longtime diplomat, was asked to come out of retirement after the former United States ambassador to Kyiv, Marie L. Yovanovitch, was ousted for resisting a shadow foreign policy campaign in Ukraine that was run by Mr. Trump’s personal lawyer, Rudolph W. Giuliani.