The versatile defender will get a fresh start in New York.