BALTIMORE — Wade Miley punched a cooler in the dugout after the sixth inning, and the frustrated Baltimore Orioles lost again.

Josh Donaldson hit his fourth homer in two days and Jose Bautista also went deep in support of Marco Estrada, leading the Toronto Blue Jays over the fading Orioles 5-1 on Monday night.

Toronto maintained a two-game lead over the Red Sox for the AL East lead, while Baltimore fell four games back.

The Orioles have lost four of five and are clinging to the second wild card.

“We just got to play ball,” Miley said. “We’ve got plenty of games against Toronto. It’s in our own hands. We just got to play ball games.”

Miley (8-11) allowed three runs and five hits while tying a season high with nine strikeouts over seven innings. He has lost three of six starts since being acquired from Seattle on July 31.

“Wade was good,” Orioles manager Buck Showalter said. “Mixed in a lot of different looks and gave us a good chance. A good seventh inning to get one more inning out of him.”

Miley retired the first 10 batters before allowing Donaldson’s 34th home run. Troy Tulowitzki gave the Blue Jays a 2-1 lead later that inning with an RBI single.

Bautista provided a two-run cushion when he led off the sixth with his 16th homer, and Miley took out his frustrations on the water cooler a few minutes later.

Estrada (8-6) allowed one run and four hits with four strikeouts over seven-plus innings. The Blue Jays have won three of his four starts against the Orioles this year.

J.J. Hardy provided Baltimore’s only run with his eighth homer in the third. But that’s about all Baltimore could muster against Estrada.

“We’ve had trouble with him for a while,” Hardy said. “He locates his pitches, kind of right on the top. His fastball is sneaky. He can elevate it. He can pitch down with it, and his changeup is a really tough pitch.”

Donaldson hit a solo homer in the fourth to tie it 1-1. The reigning AL MVP had three homers in a 9-6 win over Minnesota on Sunday.

“He’s such a good player,” Blue Jays manager John Gibbons said. “When he’s doing his thing, it makes such a big difference for this team. It really sets everything up.

The Blue Jays added two more runs in the ninth on an RBI single by Justin Smoak and a fielder’s choice by Devon Travis off Tommy Hunter.

LEADING OFF

Jonathan Schoop batted leadoff for the first time in three years with the Orioles and went 0 for 4 with a pair of strikeouts.

TRAINER’S ROOM

Orioles: CF Adam Jones was out of the starting lineup for the third straight game with a left hamstring strain. … Right-hander Chris Tillman, on the 15-day DL with right shoulder bursitis, threw on flat ground without any setbacks. He will play catch again Wednesday before throwing off a mound.

UP NEXT

Blue Jays: Left-hander J.A. Happ (17-4, 3.19) had his 11-game winning streak snapped in his last start against the Angels. Happ has won both of his two previous outings against Baltimore this season.

Orioles: Ubaldo Jimenez (5-11, 6.62 ERA) is back in the rotation with the injury to Tillman. He took the loss in his past outing Thursday against the Nationals after allowing one run over six innings.