The $152 billion financial giant came to terms on a settlement with the office of New York State Attorney General Letitia James.