The game was scoreless until Erick put the ball into his own net as he was attempting to clear away a cross from New York's Jonny Steele.
The victory gave Eastern Conference-leading New York (15-9-6) a one-point advantage over Seattle in the race for the best mark in the league.
Dallas (10-9-10) remained mired in eighth place in the West, five points out of the final playoff spot.
Jordana Brewster on Paul Walker: 'He was an enormous presence in my life'
Gal Gadot cast as Wonder Woman for 'Batman vs. Superman'