He wasn't an instant stud in AZ, he was mainly just solid last year, so it definitely seems that he's developed some since that ugliness in NY. I certainly don't think it's a guarantee that he's this good if he stays in NY, but I also don't think you can rule it out.
That being said, I'm not arguing against the trade. That's a trade you make every time if you're the Yankees.