Allen Weisselberg, the former chief financial officer of the Trump Organization, pleaded guilty to tax fraud charges Thursday as part of a deal that will require him to testify about the financial practices of the Trump real-estate empire that he helped run.