The Atlantic Division will play in the All-Star Game final against the Pacific Division, which defeated the Central Division 10-5 in the second semifinal.
Victor Hedman (one goal, three assists) and Tyler Bertuzzi (four assists) also had four points for the Atlantic Division. Jack Eichel had three assists.
Nico Hischier scored two goals, and Seth Jones had a goal and three assists for the Metropolitan Division.
Jonathan Huberdeau gave the Metropolitan a 5-5 tie at 4:48 of the second period, scoring from in front of the net off a blind, backhand, between the legs pass from Brady Tkachuk. The Atlantic Division took a 6-5 lead when Hedman scored at 5:47, and Duclair made it 7-5 20 seconds later with his second goal.
Pastrnak completed his hat trick with an empty-net goal at 9:05, making it 8-5, and Duclair completed his hat trick with an empty-net goal at 9:29 for the 9-5 final.
Pastrnak gave the Atlantic Division a 1-0 lead 26 seconds into the first period off a 2-on-1 with Hedman. Shea Weber scored on a one-timer 23 seconds later to make it 2-0.
John Carlson scored on a one-timer off a pass from Mathew Barzal to make get the Metropolitan within 2-1 at 2:13, and Hischier went across the zone before cutting down to score on Frederik Andersen at 3:38 to tie it 2-2.
T.J. Oshie gave the Metropolitan Division a 3-2 lead at 5:29 of the first with a high-glove snap shot from between the hash marks. Jones made it four straight goals for the Metropolitan at 6:04 for a 4-2 lead.
Duclair scored 16 seconds later for the Atlantic Division, making it 4-3, and Pastrnak scored for a 4-4 tie at 8:28, deking to his backhand in front of Braden Holtby before putting the puck through the goalie's legs.
Hischier scored at 2:50 of the second period to give the Metropolitan Division a 5-4 lead.