Aaron Judge was held out of the Yankees’ lineup for Thursday’s game against the Angels after he landed hard on his right shoulder when he attempted to make a diving catch on Wednesday, but manager Aaron Boone was optimistic he was OK.

“I think he’s fine from that [play], but it was something [Wednesday] night,” Boone said. “Before he left, I let him know he’d be down [Thursday]. I just felt like it was a good idea.”

Judge finished Wednesday’s game after the fifth-inning play. After homering in the third inning, Judge grounded out in his final two at-bats. He was stretching his shoulder in the outfield for several innings following the play.

“Hopefully he’s fine and I believe he is,’’ said Boone, who added Judge was not sent for any tests.

The Yankees’ outfield situation was already somewhat precarious even before Judge’s awkward landing.

Aaron Hicks is in Tampa, having just resumed a throwing program after suffering a setback in his attempt to return from a right flexor strain. He may not play again this season. And Mike Tauchman is out indefinitely with a left calf strain.

Giancarlo Stanton provided a boost on Wednesday when he played his first game since suffering a sprained right knee on June 25. Stanton doubled and moved around fine in left field, nearly throwing out a runner at the plate before being removed after the sixth inning.

Boone said Stanton rebounded well on Thursday, when he started at DH.

“Giancarlo came out of [Wednesday] well and actually probably played a couple more innings than we anticipated,’’ Boone said.

Stanton was replaced by Tyler Wade on Wednesday, while Cameron Maybin, still nursing a ligament injury in his left wrist, started in left on Thursday. Clint Frazier, whose playing time has been reduced lately, was in right.

Brett Gardner’s power surge has also made up for the Yankees’ outfield injuries. He entered Thursday with seven homers in 14 games this month. It’s the second-most homers in a calendar month in Gardner’s career, trailing just the nine he hit in July 2014 and May 2017.

As for Judge, after slumping a bit in mid-August, he has also hit well in the past month.

He had 12 homers, six doubles and a 1.062 OPS in his past 28 games.

It looks like Dellin Betances will avoid surgery for his partially torn left Achilles tendon.

The right-hander received a second opinion from Dr. Martin O’Malley from Hospital for Special Surgery, who agreed with the initial diagnosis.

Betances will likely be in a walking boot for about four weeks then be reevaluated, Boone said.

“The belief is he will not need surgery,’’ the manager said. “I guess that could possibly change.”

Regardless, Betances won’t be back at any point this season. He’ll be a free agent following this season.

Dr. Steven Weinfeld, chief of foot and ankle surgery at The Mount Sinai Health System, said Wednesday that Betances should make a full recovery.

Gleyber Torres was rested on Thursday, with DJ LeMahieu filling in at second base. … The Yankees honored CC Sabathia as their Roberto Clemente Award nominee prior to Thursday’s game. The award celebrates sportsmanship and community involvement.