(Mr. Ailes, who died in May, and Mr. O’Reilly denied the allegations against them.)

The company pledged to clean up its workplace and foster a culture of trust and respect after the scandal first burst into public view in July 2016. Yet in the months that followed, allegations continued to surface at Fox News and in other divisions. And in February, the company granted Mr. O’Reilly a four-year contract extension worth $25 million a year, even though it was aware of at least six settlements involving harassment allegations against him.

21st Century Fox has said that in addition to management changes, it has hired a new global head of human resources and a new head of human resources at Fox News, expanded training and created more ways for employees to report harassment or discrimination.

As 21st Century Fox tries to move past the scandal, the United States attorney’s office in Manhattan is conducting a criminal investigation into Fox News’s handling of sexual harassment complaints. The company also faces continuing regulatory scrutiny in Britain over its $15 billion bid to acquire full control of Sky, the European satellite giant long coveted by Rupert Murdoch and his sons James and Lachlan, who control 21st Century Fox.

Some shareholders have expressed concern that 21st Century Fox’s management and its board failed to address the crisis and have risked the company’s reputation, operations and long-term value.

The settlement came at a time of uncertainty in the Murdoch media empire. The company has held preliminary talks in recent weeks to sell some assets, a development that shocked analysts who believed that the Murdochs had no interested in selling any part of the company until news of the discussions broke.

The four independent members of Fox News’s new workplace council include Barbara Jones, a former judge in the U.S. District Court for the Southern District of New York, and Brande Stellings, the head of the consulting services and corporate board services groups at Catalyst, which work to advance women in positions of leadership. Also named to the group were Virgil Smith, who was the vice president of talent acquisition and diversity at the Gannett Company, and Sylvia Ann Hewlett, the chief executive of the Center for Talent Innovation and a member of the Council on Foreign Relations.

“The Workplace Council gives our management team access to a brain trust of experts with deep and diverse experiences in workplace issues,” Jack Abernethy, co-president of Fox News, said in a statement. “We look forward to benefiting from their collective guidance.”