The chief of staff for New York Attorney General Letitia James has resigned in connection with separate sexual harassment allegations, according to reports.