Is Tony Stewart having fun yet?\r\nIn his last year of NASCAR Sprint Cup Series racing, Stewart came to Sonoma Racing asserting on Friday he wasn\u2019t having much fun driving a Sprint Cup Series car.\r\nThat all changed in Sunday\u2019s Toyota-Save Mart 350 at the 1.99-mile road course, where Stewart bulldozed Denny Hamlin into the outside wall in Turn 11, executing a dramatic last-lap pass for his first victory since June 2, 2013 at Dover to snap an 84-race losing skid.\r\nIn the three years since that victory, a succession of injuries and a personal tragedy have limited the three-time champion\u2019s time in a Sprint Cup Series car and limited Stewart\u2019s effectiveness when he was behind the wheel of the No. 14 Chevrolet he co-owns with Gene Haas.\r\nBut on Sunday, after a prescient pit call by crew chief Mike Bugarewicz put Stewart in the lead for a restart on Lap 91 of 110, Stewart held the top spot at the start\/finish line for the rest of the race, but that hardly describes the excitement of the final lap.\r\nFor the second straight circuit, Stewart wheel-hopped the No. 14 Chevrolet into Turn 7, and Hamlin took full advantage, giving Stewart a bump and charging past him. In hot pursuit through the esses and Turn 10, Stewart caught Hamlin in the hairpin (Turn 11) when Hamlin slipped and ran wide.\r\n\u201cI made mistakes the last two laps,\u201d acknowledged Stewart, who missed the first eight races of the season after injuring his back in an ATV accident during the offseason. \u201cI had just a little bit too much rear brake for Turn 7, and wheel-hopped it two laps in a row. I felt a nudge when I got down there and he knew where it was and he did the right thing doing it there.\u201d\r\n\u201cBut if I could get to him, he knew what was coming. He told me (after the race) he was proud of me. He knows what it means. We were teammates for a long time (at Joe Gibbs Racing), and we respect each other a lot.\u201d\r\nContact from Stewart\u2019s car sent Hamlin\u2019s No. 11 Toyota fish-tailing into the outside wall, but Hamlin held the runner-up spot, crossing the stripe .625 seconds behind the race winner.\r\n\u201cI take that, but I\u2019m probably going to get the (crap) beat out of me,\u201d Stewart said on his radio, after notching his third victory at Sonoma, his eighth on a road course and the 49th of his career.\r\nThough disappointed at the outcome, Hamlin didn\u2019t begrudge Stewart the victory, given the circumstances. Stewart needed a win to qualify for the Chase for the NASCAR Sprint Cup, and with Sunday\u2019s result, Smoke is 32nd in the standings, nine points away from the 30th position he needs to achieve to become Chase-eligible.\r\nIn other words, Stewart is all but a lock to compete for a fourth title in NASCAR\u2019s 10-race playoff.\r\n\u201cI thought with two or three (laps) to go he pretty much had it, but he made a couple mistakes and allowed us to get pretty close,\u201d Hamlin said. \u201cAnd then we just both wheel-hopped into 7, and I just let off my wheel-hop a little bit so I could get to his rear bumper and get him out of the groove just a touch.\r\n\u201cIt was perfectly executed, but I was going through the esses knowing that I needed to get the biggest gap that I could going into (Turn) 11, and when he was two back or so going into 11, I just ... I didn\u2019t run a low enough line in Turn 11 from wheel-hopping in Turn 7. I got the rears hot, wheel-hopped it a little bit again, got out of line, and obviously gave him the inside line.\u201d\r\nThird-place finisher Joey Logano was trailing the action into the final corner, hoping Hamlin and Stewart would take each other out.\r\n\u201cGoing into Turn 11, I was 100 percent sure that Denny was not going to win just by watching it, and we were right there on the cusp of trying to sneak one by,\u201d Logano said.\r\nHaving opened up the inside lane in Turn 11, Hamlin shared Logano\u2019s sense of inevitability.\r\nHad Stewart and Bugarewicz not chosen the perfect time to make a pit stop, however, Stewart almost certainly would not have won the race. With NASCAR officials scanning the track after reports of debris between Turns 6 and 7, Stewart and his crew chief decided to gamble and bring the car to the pits on Lap 86.\r\nNASCAR called the caution a lap later, and when all the rest of the contending cars pitted under yellow on Lap 88, Stewart inherited a lead he would hold\u2014with the exception of Hamlin\u2019s brief interlude from Turns 7 to 11\u2014for the rest of the race.\r\n\u201cIt was just a chance that we took, a chance to get a win,\u201d Bugarewicz said.\r\nCoors Light Pole Award winner Carl Edwards\u2014who led 24 laps\u2014finished fourth, followed by Martin Truex Jr. Kevin Harvick and Kyle Busch. Ryan Newman, Kasey Kahne and Kurt Busch completed the top 10. Harvick retained the series lead by 35 points over second-place Kurt Busch.\r\nRoad-racing expert AJ Allmendinger led 20 laps in the JTG Daugherty Racing No. 47 Chevrolet and finished 14th. His team was penalized for an uncontrolled tire on its final pit stop, knocking him from contention.\r\nHome-state driver Kyle Larson spent much of the day in the top five, but fell from the hunt with a pit-road speeding penalty in a Lap 70 stop. He finished 12th.\r\nNotes: Clint Bowyer, a winner at Sonoma in 2012, was sidelined after completing just five laps by an electrical issue that filled the cockpit of his No. 15 Chevrolet with smoke. \u201cSmoke is never good in the cockpit and it stinks. Hell, I couldn\u2019t breathe,\u201d said Bowyer, who finished last in the 40-car field.\r\nFormer NASCAR Next driver Dylan Lupton finished 35th in his Sprint Cup debut as the last driver on the lead lap.\r\nSunday before the race, Toyota\u2014the race co-sponsor and the track\u2019s official vehicle\u2014announced a three-year extension of its partnership with Sonoma Raceway. The deal continues a sponsorship that has been in place since 2007.\r\nThe series\u2019 next race is scheduled Saturday at Daytona International Speedway, which will host the Coke Zero 400 Powered by Coca-Cola.