Michael Cohen and the tabloid publisher traded favors over many years, including helping mediate a lawsuit threat by former “Apprentice” star Omarosa Manigault-Newman and tackling emerging stories potentially unfavorable to the president. Authorities are trying to determine whether the publisher and Mr. Trump’s team violated campaign-finance laws.