MIAMI GARDENS, Fla. -- Tony Romo scrambled in the back of the end zone before improvising to throw his first pass in two months -- left-handed for a short gain.
He did even better right-handed.
Romo pulled off his latest comeback victory Sunday, returning from a collarbone injury to throw for two scores, and the Dallas Cowboys won for the first time since he was hurt in Week 2, beating the Miami Dolphins 24-14.
The Cowboys (3-7) snapped a seven-game losing streak, their longest in a single season since 1989. They play host to undefeated Carolina on Thanksgiving.
"Winning," Romo said, "is going to put a little more pep in everyone's step."
"I got more comfortable as the game went on," Romo said.
Dallas' dominating defense added to his comfort level, beginning when linebacker Rolando McClain scored the game's first points and his first career touchdown on a 12-yard interception return. He stepped in front of a pass by Ryan Tannehill intended for Greg Jennings.
Another day of sputtering offense for the Dolphins (4-6) increased the likelihood they'll miss the playoffs for the seventh year in a row.
Romo looked rusty at times, and heavy rain and gusty wind early in the game didn't help.
"That's the way it's supposed to be," Romo said. "That's why it's the NFL. You almost take it as a challenge, and it makes it almost more enjoyable."
Cowboys owner Jerry Jones revealed after the game that Romo had suffered at least six fractures in his left collarbone, causing him to miss seven games.
The Cowboys' first scoring threat ended when he was blitzed and his pass was intercepted by Brent Grimes. A frustrated Romo yelled at intended receiver Bryant as they headed for the bench.
"I love that kid," Romo said.
Romo soon settled down and showed his characteristic creativity. The left-handed desperation lob allowed him to avoid a safety on the Cowboys' opening possession.
"I didn't envision after my two-month layoff coming back with a left-hander," he said. "I did practice that about seven or eight years ago, so I was ready for it."
"It gave me a shiver," Cowboys owner Jerry Jones said, "and I know it inspired the team."
As expected, Romo sparked a team tied for next to last in the NFL in points. Since Week 2 of 2014, the Cowboys are 16-3 when he starts and 0-8 when he doesn't.
"He's a damned good player," coach Jason Garrett said. "He has been for a long time."
Darren McFadden provided offensive balance by rushing for 129 yards -- his second-best effort this season. Robert Turbin, who joined the Cowboys on Wednesday, added 35 yards on seven carries against a team ranked next-to-last in run defense.
"We've got to stop the run," Miami defensive tackle Ndamukong Suh said. "We didn't do a good enough job in that area. That's pretty much as simple as it gets."
The Dolphins had the ball for only 21 minutes and went 1 for 10 on third-down conversions. Running back Lamar Miller gained 44 yards on just seven carries as the Dolphins fell to 0-6 in games where Miller has had less than 12 carries, according to ESPN Stats & information.
The loss reduced the chances interim coach Dan Campbell will be back next year.
"I want to keep Dan around," Tannehill said. "He does a great job. He's exciting. Everyone in our locker room believes in him. But as players we've got to go out and do a better job."
The game matched a pair of last-place teams and looked it at times. Dallas committed 10 penalties and Miami nine.
A dance celebration by Bryant and Williams following a score prompted an unsportsmanlike conduct penalty that helped Miami score a touchdown in the final seconds of the first half.
But Bryant beat a linebacker and a safety for the touchdown that put the Cowboys ahead to stay, 21-14, on the first play of the fourth quarter.
It was the 50th career touchdown pass from Romo to Bryant, breaking the Cowboys' team record for a quarterback-receiver combo.
"We looked like our old selves in a lot of ways," tight end Jason Witten said.
The Cowboys mounted an 8 1/2-minute drive for their first offensive score. A third-down holding penalty on cornerback Jamar Taylor allowed the Cowboys to keep the ball, and he was beaten deep by Williams on another third down for the TD.
"I put this loss on me," Taylor said.
Neither team reported any injuries. ... Garrett earned his 44th regular-season victory, tying Jimmy Johnson for second place in Cowboys history behind Tom Landry, who had 250 wins. ... Witten broke Bob Lilly's franchise record for consecutive games played with his 197th.
The Associated Press contributed to this report.
Aaron Donald says he's not playing 'bad football' despite zero sacks in past 2 games, rips 'blatant' uncalled holds
Rams defensive tackle Aaron Donald pointed out Wednesday that he's not frustrated by recording zero sacks and tackles in his past two games, but said he is irked by "some blatant holds that we didn't get the call for."
Biggest Week 12 injury questions for all 32 NFL teams: Uncertainty surrounds Nick Foles, 49ers running backs
While the Bears have an iffy QB situation, the Ravens are dealing with a nasty COVID-19 outbreak. Our NFL Nation reporters have the latest.
Green Bay Packers' Aaron Rodgers wants fan favorites back at Lambeau Field
Green Bay Packers quarterback Aaron Rodgers says he wants fan favorites such as "Roll Out the Barrel" and beer bottle races back at Lambeau Field, even though the stadium will be without fans.
Dallas Cowboys strength and conditioning coach Markus Paul, 54, dies
Dallas Cowboys strength and conditioning coordinator Markus Paul, who was rushed to the hospital Tuesday morning after experiencing a medical emergency, has died, the team announced Wednesday. He was 54.
San Francisco 49ers cornerback K'Waun Williams has 2-game suspension rescinded
San Francisco 49ers cornerback K'Waun Williams' two-game suspension for violation of the NFL's policy on performance-enhancing substances has been rescinded, according to the league.
Lions and Texans meet with coaches whose jobs are not secure
— The Detroit Lions decided to give Matt Patricia another chance to coach this year and have chosen to stick with him during a shaky season.