The outcome spoiled the return to New York for Joe Torre, who managed the Yankees for 12 seasons.
With the Mets facing persistent rumors concerning a possible managerial change, they managed their third straight win.
Wright opened the scoring with a two-run shot in the third and he hit another one in a four-run fourth to boost his total for the year to 11.
Benedict Cumberbatch's dramatic reading of R. Kelly lyrics is just what you need
Jordana Brewster on Paul Walker: 'He was an enormous presence in my life'