Adrian Gonzalez, Andre Ethier and Hanley Ramirez also went deep in the Dodgers' biggest power display in almost seven years.
Ricky Nolasco (13-9) won his seventh straight decision over eight starts as the Dodgers scored their first seven runs on the long ball.
Uribe beat out an infield single to third base in the seventh against Heath Bell to drive in the Dodgers' final run, capping his first four hit game since April 23, 2001, against Atlanta.
It was the first time the Dodgers hit as many as six home runs in a game since Sept. 18, 2006, when they highlighted a seven-homer barrage with four in a row in the ninth inning.
Ethier drove Delgado's second pitch of the second inning to center field for his 12th homer, and Uribe sent a 2-0 pitch into the left field pavilion for the Dodgers' fourth set of back-to-back homers this season.
It was more of the same in the third. Gonzalez hit his 20th homer after a double by Ramirez, and Uribe went deep again on a full count—marking his 10th multihomer game and first since Sept. 23, 2010.
Two innings later, Uribe completed his first three-homer game in the majors with a two-out drive into the pavilion seats in left-center after Ramirez homered on reliever Eury De La Rosa's first pitch of the fifth.
Uribe was the eighth player in the majors this season to hit three homers, and the first Dodger to do it since Ethier on June 26, 2009, against Seattle. The 34-year-old third baseman, batting .279 with 10 homers and 44 RBIs, is in the final year of a three-year, $21 million contract he signed as a free agent after helping San Francisco win the 2010 World Series title.
Coming off a three-game sweep by Cincinnati that ended with a pair of walk-off wins by the Reds, the Dodgers began a stretch of seven games in 11 days against the second-place Diamondbacks, who are 12 games off the pace with 19 remaining for both clubs.
The Dodgers ended a four-game losing streak, their longest since a season-worst eight-game skid in May that included a three-game series against the Diamondbacks at Chavez Ravine. The D-backs held a 9 1/2-game lead on Los Angeles on June 22, when the Dodgers were last in the division. Since then, the Diamondbacks have gone 31-38 while the Dodgers have gone 53-17.
Nolasco allowed an unearned run and three hits in 6 2-3 innings and struck out six. The right-hander, who pitched eight scoreless innings in each of his previous two starts at Dodger Stadium against the Red Sox and Cubs, extended his home scoreless streak to 24 1-3 innings before Didi Gregorius hit a two-out RBI double in the fifth.
Los Angeles' first four homers came off Randall Delgado (4-6), who threw 70 pitches over 2 2-3 innings in his Dodger Stadium debut. The Panamanian right-hander is 1-3 with a 5.40 ERA and 13 home runs allowed in eight starts since earning his first major league complete game and shutout on July 26.
Martin Prado, who returned to the Arizona lineup after missing two games with flu-like symptoms, singled with one out in the second for the D-backs' only hit through the first four innings.
In the fifth, Uribe committed a throwing error on Prado's leadoff grounder. He scored on Gregorius' double over the head of right fielder Yasiel Puig with two outs.
NOTES: The earliest calendar date the Dodgers have ever clinched a division title was Sept. 20, 1977, Tommy Lasorda's first season as manager, when they finished 10 games ahead of Cincinnati. ... Monday was the 48th anniversary of Sandy Koufax's perfect game against the Chicago Cubs—the only perfecto in franchise history. ... Nolasco is 3-0 with a 1.25 ERA in three starts against the Diamondbacks this season, including a 2-1 decision with the Marlins on May 19 at Miami. He beat them 6-1 in his Dodgers debut on July 9 at Phoenix. ... Nolasco has allowed fewer than two earned runs in 10 of his 12 starts with Los Angeles, and is 8-1 with a 2.19 ERA during that stretch. ... Arizona RF Gerardo Parra was 0 for 2 against Nolasco, and has one hit in 16 career at-bats against him. ... RHP Trevor Cahill, who starts Tuesday night for Arizona against RHP Edinson Volquez, is 5-0 with a 2.10 ERA in eight career starts against the Dodgers.