Yankees close on long-desired Sonny Gray trade