Venezuelan President Nicolás Maduro is set to appear in federal court in New York after being captured in a U.S. raid.