The agreement with the New York archdiocese would end more than seven years of lawsuits