A New York federal judge on Thursday ordered Citigroup Inc. to turn over a trove of documents, which it supplied to the U.S. Department of Justice in connection with a global crackdown on foreign currency exchange-rigging, to a former forex trader who claims the bank framed him to limit the fallout for itself.