Standard & Poor’s is close to a settlement of about $1 billion with the U.S. for allegedly misleading investors about its ratings of mortgage-backed securities before the subprime crisis, a person familiar with the matter said.

The McGraw Hill Financial Inc. unit and the U.S. Department of Justice may agree to settle the case as early as this quarter, according to the person, who asked not to be identified because the negotiations are confidential.