The Miami Dolphins are getting a much-needed boost to their struggling offense.

Rookie receiver Caleb Douglas is expected to return Sunday against the New York Jets after missing the past three games with an ankle injury.

Coach Jeff Hafley confirmed the news Friday morning.

Douglas initially injured his ankle during Miami’s Week 2 loss to the San Francisco 49ers and has been sidelined ever since. He returned to practice on a limited basis Wednesday and Thursday this week.

“He’s done a nice job,” Hafley said about Douglas. “It’s good to have him back.

“He’s made a bunch of plays in practice and I’m excited to see him play. He hadn’t played in a while. I think he’s excited, I think our whole team’s excited. It brings us some extra juice. We’ll see how the week finishes off, but that’s the expectation.”

Miami enters Sunday’s game with one of the worst offenses in the NFL

The Dolphins desperately need that extra juice.

Through five games, Miami ranks 28th in the NFL in total offense, averaging 280.2 yards per game, and is tied for 31st in scoring at just 14 points per game.

Douglas has caught seven passes for 113 yards in his two games this season. He made an immediate impact in the season opener against the Las Vegas Raiders, hauling in five passes for 94 yards.

The rookie also built chemistry with quarterback Malik Willis during training camp and the preseason, and that connection carried into the first two regular-season games.

Now, Miami hopes that chemistry can spark an offense that desperately needs it.

Hafley acknowledged that getting back into game shape isn’t as simple as taking mental reps while watching from the sideline.

“It’s not easy,” Hafley said about Douglas trying to take mental reps and translate it on the field. “Let me say this. For some people, it might be easy.

“For some people, it’s a challenge. There are some guys that can learn by watching, there are some people that actually have to learn by doing. So I think it’s different with every player. Ultimately, the more you can actually do it, the timing, the rhythm, getting comfortable back with the quarterback, but mentally, he has stayed sharp because he’s been pretty efficient in practice. But again, you’re talking about a rookie who hasn’t played much football, so let’s just see how it goes.”

The Dolphins don’t need Douglas to save their offense. But after five games of sputtering production, they could certainly use the spark.