A wild ride.

MONTREAL — Go ahead and dare to count out these Bruins?

But if you give up, you just might miss the ride of a lifetime.

Outplayed for close to the first 30 minutes, the Bruins overcame deficits of 1-0, 3-1 in the first two periods, and then 4-3 in the third period before Michael Ryder’s overtime goal clinched a victory in Game 4 of the Eastern Conference quarterfinal series with Montreal at the Bell Centre.

The series is now tied, 2-2, with Game 5 in Boston Saturday night.

Ryder’s goal was his second of the night, as the Bruins’ third line combined for eight points. Chris Kelly scored his second goal of the series — to tie the game with 6:18 left in regulation — and added two assists. Rich Peverley notched two assists.

Here’s a quick glance at the box score:

•Andrew Ference and Patrice Bergeron scored Boston’s other goals.

•Tim Thomas allowed a short-side goal to P.K. Subban that gave the Habs the lead 1:39 into the third period. But Thomas also stopped 14 of 15 shots in the first period to keep the Bruins within 1-0 despite getting outshot 15-8. Thomas finished with 34 saves.

•Carey Price finished with 30 saves.

•Bergeron led the Bruins with seven shots on net, while Johnny Boychuk led with five blocked shots.

•The Bruins held Montreal without a shot on net for 5:52 of the second period after they fell behind 3-1 and called a timeout.