"Today's settlement is another important step in our comprehensive effort to help New Yorkers rebuild their lives and communities," Schneiderman said.
The size of the settlement with the Justice Department was not immediately determined. The timing of it is out of the bank's control, RBS said while releasing its 2017 earnings report on Feb. 23.
The bank in July reached a $5.5 billion settlement in the U.S. with the Federal Housing Finance Agency over the mis-selling of residential mortgage-backed securities.
The New York settlement finalized Tuesday is separate from the settlements with the U.S. government, Schneiderman's office said.
Since the National Mortgage Settlement was announced by former President Barack Obama's administration in early 2012, the U.S. has received $5.8 billion from six of the largest mortgage servicers, with the New York attorney general securing $3.7 billion of the total, Schneiderman said.