The suit had been seen as an effort to silence Mr. Cohen, who is scheduled to testify against Mr. Trump in the civil fraud case brought by New York’s attorney general.
As Rudolph Giuliani has neared a financial breaking point with a pile of legal bills, the former president has largely demurred, despite making a vague promise to pay up.