A top state banking regulator has fined Goldman Sachs Group Inc. $50 million for failing to properly supervise a former employee whom the agency accused of stealing and sharing confidential regulatory materials.

The New York State Department of Financial Services said in a statement Tuesday that as part of the enforcement action, Goldman has accepted a three-year ban from new regulatory consulting work that would involve disclosures of confidential materials from the department.

Goldman...