DETROIT (AP) - Brad Ausmus shook up the lineup and Detroit responded with its highest-scoring game of the season.
Just a coincidence, perhaps, but the Tigers and their manager will take it.
"You only have so much at your beck and call as a manager, things you can do when an offense is struggling," Ausmus said. "Not that it was a huge shock with the lineup change, but you hope it's some type of shock to the lineup system that maybe has some positive effect."
J.D. and Victor Martinez both homered, and Justin Verlander pitched impressively into the seventh inning to lift the Tigers to a 9-4 victory over the Oakland Athletics on Wednesday night. Ausmus moved J.D. Martinez from fifth to second in the batting order, swapping him with Justin Upton.
J.D. Martinez hit a three-run homer in the second inning. Victor Martinez added a three-run shot of his own in the sixth.
Verlander (2-2) allowed three runs and five hits in 6 1/3 innings, his third straight quality start since allowing seven runs against Pittsburgh on April 11.
Sonny Gray (3-2) lasted only two innings in the shortest start of his big league career. He allowed four runs, two hits and four walks, throwing 65 pitches.
"I've been out of the zone more than I've wanted early in the season, but until tonight, it hadn't hurt me. I've had some close calls, but I've been able to get out of them," Gray said. "Tonight, I didn't have anything. I don't remember a start like this, where every breaking ball I threw was awful and I couldn't locate anything."
Detroit had lost seven of its previous nine, scoring more than three runs only once in the prior seven games. Ausmus was hoping something would click if he adjusted the lineup, and Detroit broke through with four runs in the second.
Nick Castellanos led off with a triple and scored on a one-out grounder by Anthony Gose. With his pitch count already mounting, Gray allowed J.D. Martinez's homer to right-center field, which made it 4-0.
Khris Davis hit a long solo homer in the fourth for Oakland. His drive cleared Al Kaline's No. 6 on the brick wall beyond the bullpen in left-center and would have traveled 449 feet unimpeded, according to MLB's Statcast.
J.D. Martinez drove in another run in the fourth with a sacrifice fly, and Victor Martinez's homer made it 8-1.
Verlander struck out six and walked two. He had allowed only one run before the seventh, when he gave up consecutive doubles to start the inning and eventually left with one out. One of his runners came home after he exited.
"I would have liked to have gone out there in the seventh and had a quick, clean inning, and get us back in there with no harm," Verlander said. "It was kind of tough to get loose. I felt like it dropped like 20 degrees that inning."
Billy Butler doubled off Verlander in the seventh, but the Detroit right-hander retired him in his first two plate appearances. Butler is 35 for 87 (.402) against Verlander.
Athletics: RHP Henderson Alvarez (right shoulder) threw off flat ground Wednesday. ... Oakland transferred LHP Felix Doubront (left elbow) to the 60-day disabled list. The A's also selected the contract of OF Matt McBride from Triple-A Nashville and optioned RHP Andrew Triggs to Nashville. Oakland prospect Sean Manaea will pitch Friday against Houston.
Tigers: RHP Shane Greene (blister) is heading to the DL, and Detroit prospect Michael Fulmer will make his major league debut Friday night when he starts at Minnesota. ... C James McCann (right ankle) began a rehab assignment with Triple-A Toledo on Tuesday night, going 0 for 3 with two walks as a designated hitter.
Oakland's Chris Bassitt (0-1) is to start the series finale Thursday, when Anibal Sanchez (2-2) will try to bounce back after allowing six earned runs in 2 1/3 innings against Cleveland on Saturday.