The former Trump spokeswoman testified about his 2016 campaign’s damage-control efforts after the infamous “Access Hollywood” tape, in which the candidate spoke of groping women, became public. Prosecutors say it made Mr. Trump’s aides more eager to quash damaging stories, like Stormy Daniels’s account of an affair.