The New York attorney general brought the suit against Trump and his company, seeking a ban on him from doing business in New York and a $370 million penalty.