BOSTON (AP) D.J. Matthews caught a short pass, faked out three defenders on his way to the sideline and then dove for the end zone, taking off from the 6-yard line before clipping the pylon to give Florida State the go-ahead score.

''It kind of reminded me of high school, doing the long jump,'' Matthews said after helping the Seminoles beat Boston College 38-31 on Saturday in their first game since coach Willie Taggart was fired.

''I just wanted it. I want to score for my team,'' Matthews said. ''I want to make plays for my team, so we can just be better.''

Matthews turned a short slant pattern into a 60-yard touchdown to break a fourth-quarter tie, and Jordan Travis followed with a 66-yard run for what turned out to be the winning score for Florida State (5-5, 4-4 Atlantic Coast Conference).

James Blackman threw for 346 yards and two TDs, hitting Tamorrion Terry seven times for 156 yards and one score. Six days after firing Taggart, Florida State moved to the verge of a bowl berth and preserved two-time interim coach Odell Haggins' perfect record.

''Guys came out and played for Coach Odell. They love him,'' Matthews said. ''When things happened last Sunday, that's what he did - he brought us together.''

Florida State fell behind 14-3 in the first half before scoring 21 straight points, only to watch BC (5-5, 3-4) tie it 24-all in the final minutes on Dennis Grosel's half-yard roll-out and dive for the end zone. The Seminoles took over at their own 41 with 2:27 left, lost a yard and then Blackman found Matthews across the middle, about 5 yards away.

The receiver juked past three defenders on his way to the right sideline, then leaped for the pylon to make it 31-24.

''That was a backbreaker right there, to me,'' BC coach Steve Addazio said. ''It was just quick, and it goes for 60. That can't happen.''

After Grosel threw an interception, Travis broke free for 66 yards to give Florida State a 14-point lead - his second TD run of the game.

''When it comes in bunches like that it can be a little bit deflating,'' Addazio said. ''You've got to bounce back from that.''

Grosel hit Kobay White from 20 yards out to make it a one-score game with 14 seconds left. But with Doug Flutie and BC's 1984 team in attendance, FSU recovered the onside kick and left no chance for a last-second miracle.

With the sun setting and the temperatures dipping into the 30s, the Seminoles drenched Haggins with a water cooler.

''They didn't flinch,'' Haggins said. ''When everything happened this past weekend ... they wanted to show: `We are Florida State. We are unconquered. We've got your back, Coach.' That's what they showed me.''

Florida State fired Taggart on Sunday, a day after a 27-10 loss to Miami, and named Haggins as the interim coach. Haggins, who also took over when Jimbo Fisher left for Texas A&M, is now 3-0 in two stints as a Seminoles fill-in.

Travis gained 94 yards on three runs, scoring on two of them.

AJ Dillon ran for 165 yards on a career-high 40 carries, and David Bailey added 67 yards and a touchdown as the Eagles rushed for 281 yards in all. Grosel, a walk-on who earned the starting job when Anthony Brown was injured, completed 20 of 29 passes for 227 yards, two touchdowns and an interception.

Behind its 500-pound backfield of Dillon and Bailey, BC gained 166 yards rushing in the first half, taking a 14-3 lead before Blackman found Terry for a 74-yard score at the end of the second quarter. Travis took a direct snap on a third-and-3 and found his way down the right sideline for the score that made it 17-14 in the third, before Cam Akers ran 13 yards to give the Seminoles a 24-14 lead.

A field goal put BC within a touchdown, and then Eagles got to the FSU 2 before the Seminoles were flagged for offsides on back-to-back plays when they had stuffed Dillon short of the goal line. On the fourth try, Grosel rolled right, tucked the ball in, put his shoulder down and dove over the goal line.

Aaron Boumerhi, who missed two field goals earlier, nailed the point after to tie it.

THE TAKEAWAY

Florida State: Haggins helped the Seminoles avoid a second straight season without a bowl berth; they need one more win, with games against Alabama State and No. 10 Florida remaining. But that's not good enough for the school's boosters, who are looking for a big name to come in and restore the program to national championship contention.

Boston College: The Eagles play No. 15 Notre Dame in two weeks, and absent a victory in the Catholic school rivalry game they will need to win in Pittsburgh on Nov. 30 to pick up their sixth win and qualify for a bowl.

UP NEXT

Florida State: The Seminoles host Alabama State next weekend.

Boston College: BC is off next weekend before playing Notre Dame on Nov. 23 in South Bend, Indiana.

---

More AP college football: http://apnews.com/tag/Collegefootball and http://www.twitter.com/AP-Top25

Copyright 2019 by STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.