New York's Robinson Cano belted two solo home runs, one in the bottom of the third inning, the other in the fifth.
Bobby Abreu knocked in one run, and the other two scored on Jason Varitek's eighth inning throwing error.
Derek Jeter added a run and four hits as the Yankees moved within five games of Boston atop the AL East.
Wang (16-6), who had a no-hitter through 5 1/3 innings, gave up one hit in seven scoreless innings with four walks and five strikeouts.
Dustin Pedroia had Boston's other hit.
The loser was Curt Schilling (8-6).
Boston Manager Terry Francona was ejected in the seventh after arguing a base-running call.