Former President Donald Trump and his three eldest children will testify before a New York judge over the next two weeks.