The next generation of New York Yankees will have a chance to make their mark in the playoffs.

Ending a rare two-year absence from the postseason, the Yankees clinched a wild-card berth with three games to spare by beating the Boston Red Sox 4-1 Thursday night for the franchise's 10,000th regular-season win.

Carlos Beltran homered along with rookies Greg Bird and Rob Refsnyder on a drizzly, chilly evening that made sultry summer days seem long ago. CC Sabathia won for the second time since the All-Star break.

More from FoxSports

Putting behind the venerated teams of Derek Jeter and Mariano Rivera, New York (87-72) opens the playoffs with a winner-take-all game on Tuesday, most likely against Houston or the Los Angeles Angels.

New York had failed to reach the playoffs in consecutive years for the first time since its 1982-93 drought, just before the start of a golden age that included five World Series titles and seven AL pennants from 1996-2009.

But these Yankees bear little resemblance to even their last postseason team of 36 months ago. Among the players swept by Detroit in the 2012 AL Championship Series, only Alex Rodriguez, Brett Gardner, Mark Teixeira and Sabathia remain, and Teixeira will miss this postseason because of a broken leg.

Now Beltran, Jacoby Ellsbury, Chase Headley, Brian McCann and Didi Gregorius support a creaky starting rotation, a strong back end of the bullpen and sputtering middle relievers.

Masahiro Tanaka is lined up to pitch the wild-card game, with the winner advancing to a Division Series against East champion Toronto or Central winner Kansas City. Many fans stayed to applaud.

After Dellin Betances struck out Josh Rutledge to end it, the Yankees jogged onto the field to congratulate each other, along the lines of a normal win, although rookie catcher John Ryan Murphy did a little jumping.

While the Yankees celebrated a clincher in their clubhouse for the first time since beating Baltimore in the 2012 Division Series, a wild card isn't what they expected. New York led the AL East by seven games before play on July 29 but has been a .500 club since then.

The Yankees had never before failed to finish first in a season in which they led by more than six games.

The crowd seemed less than half the 40,033 tickets sold for the first night of October baseball -- of the regular-season variety.

After losing the first three games of the series, New York built a 2-0 lead in the second against Rich Hill (2-1), who revived his career this summer during a stint with the Long Island Ducks of the independent Atlantic League. Beltran hit his 19th homer, an opposite-field drive over the right-field scoreboard, No. 9 hitter Brendan Ryan singled in a run for his first RBI since July 31.

Sabathia (6-10), mixing a fastball in the 88 mph range along with a slider and changeup, allowed six hits in five innings, including an RBI single to Mookie Betts in his final frame.

Sabathia has a 2.17 ERA in five starts since returning from the disabled list and wearing a tighter brace on his surgically repaired right knee.

Adam Warren pitched three scoreless innings that included a behind-the-legs glove stop of Sandy Leon's grounder for the final out of the sixth with a man on. With the score 2-1, he gave up Betts' flyout to the left-field warning track that the wind knocked down with one on in the seventh.

Bird connected off Jean Machi in the bottom half, his 11th homer since his mid-August debut, and Refsnyder hit the second of his big league career against Heath Hembree in the eighth.

Betances followed Warren and got three outs for his ninth save in 13 chances.

TURNSTILES

New York drew 3,193,795 (3,153,762) for 80 home dates, an average of 39,922 and its lowest total at new Yankee Stadium, which opened in 2009. Still, the Yankees led the AL for the 13th straight season.

TRAINER'S ROOM

Red Sox: DH David Ortiz was out of the starting lineup with general soreness and may not start in the final series this weekend. ... OF Rusney Castillo returned to the lineup after missing three games because of his right quadriceps.

Yankees: Ellsbury and Headley were out of the starting lineup because of sore backs.

UP NEXT

Red Sox: Henry Owens (4-3) is set to start Friday at Cleveland, which goes with Josh Tomlin (6-2).

Yankees: Manager Joe Girardi held off on announcing pitchers for the weekend series at Baltimore.