The settlement was signed Thursday afternoon, just hours after the former New York City Mayor had been set to testify.