Morgan Stanley is poised to pay $3.2 billion to settle federal and state charges that it misled investors in residential mortgage-backed securities that later soured during the financial crisis, the New York Attorney General's office said on Thursday.