The U.S. Attorney's Office for the Eastern District of New York on Monday announced that UBS has agreed to pay $1.4 billion to settle a civil action related to its underwriting and issuance of residential mortgage-backed securities in 2006 and 2007 ahead of the 2008 financial crisis.