A New York judge has ordered former President Donald Trump and executives at the Trump Organization to pay over $364 million.