McGrady scored 24 points, Alston had 23 points and fell just short of a triple-double and Yao added 23 points and 12 rebounds in the Houston Rockets' 114-100 victory over the Toronto Raptors on Friday night.
The Rockets, who never trailed, have won five of six.
Alston, who played parts of two seasons with Toronto, had nine assists and eight rebounds before fouling out with 3:26 to play.
"It felt good. My whole rhythm tonight felt great," he said.
"It was a big one. We needed to come in here and get a road victory. We need to keep on trying to make a good run at the third spot in the West."
Drafted by Toronto in 1997, McGrady had seven assists for the Rockets (41-25), who avenged a Feb. 28 home loss to Toronto.
"Last time we didn't have Yao," McGrady said. "We were more prepared tonight than we were the first time we faced them. It also helps when you make your shots."
Rockets coach Jeff Van Gundy said Yao got better as the game wore on.
"I thought he was better in the second half than the first," Van Gundy said. "I thought his pick-and-roll defense was better than it had been, as was his rebounding."
Yao played for the seventh time since missing 32 games with a broken right leg.
T.J. Ford scored 18 points and had eight assists for the Raptors (36-30), who lost for the first time in five games.
"We tried everything to stop them but we just couldn't," Ford said. "We could not get over the hump. Every time we had a chance we just couldn't come up with the shot to get us over the hump."
"The only thing I can say is that it is a disappointment," Toronto coach Sam Mitchell said. "We had guys in position to make some plays, but they shot the ball a little tentative. You've got to shoot the ball, you've got to drive to the basket. We got hesitant after we missed a couple of shots."
The Rockets made all five of their 3-point attempts in the opening quarter and reeled off a 15-0 run at one stretch to lead 35-18 after 12 minutes.
"It's great for us to set that tone," McGrady said. "It got us going right away. Once we got a comfortable lead it was all about staying focused and staying poised."
Mitchell called time out midway through the second quarter with his team down 50-28, their biggest deficit of the night. His message spurred a 14-4 run that put the Raptors back in the game. Toronto went into the break trailing 62-53.
The Raptors drew to 64-57 early in the third, but never got closer the rest of the way.
|Yao shows off the lefty baby hook to No. 1 pick Andrea Bargnani as the Rockets prevail. (Getty Images)|
|Houston (41-25) «||35||27||25||27||114|
|HOU:T. McGrady 24 Pts
HOU:Y. Ming 12 Reb
HOU:R. Alston 9 Ast
|TOR:T. Ford 18 Pts
TOR:C. Bosh 19 Reb
TOR:T. Ford 8 Ast
|Players of the Game|
Majestic James Harden Rockets Player T-Shirt - Red Shop Now!
|S. Battier, SF||36||3-7||0-0||5||1||1||8|
|T. McGrady, SG||35||10-21||2-6||5||7||2||24|
|R. Alston, PG||35||9-14||0-0||8||9||6||23|
|Y. Ming, C||33||8-18||7-8||12||3||3||23|
|C. Hayes, PF||29||3-5||2-2||8||1||3||8|
|J. Howard, PF||29||4-6||2-2||6||0||3||10|
|L. Head, SG||24||4-9||0-0||1||5||4||9|
|K. Snyder, SF||9||2-5||0-0||2||1||0||4|
|J. Lucas, PG||9||2-6||1-1||0||1||3||5|
|V. Spanoulis, PG||1||0-0||0-0||0||0||0||0|
|S. Novak, PF||1||0-0||0-0||0||0||0||0|
|D. Mutombo, C||Did Not Play|
|B. Sura, PG||Did Not Play|
|B. Wells, SG||Did Not Play|
|J. Tsakalidis, C||Did Not Play|
|Complete Box Score|
|C. Bosh, PF||39||7-19||2-3||19||0||1||16|
|T. Ford, PG||36||5-13||8-10||0||8||1||18|
|J. Garbajosa, PF||36||3-6||2-6||4||1||3||9|
|M. Peterson, SG||17||1-3||0-0||1||1||1||2|
|R. Nesterovic, C||13||1-3||0-0||1||0||1||2|
|A. Bargnani, PF||33||4-8||7-9||4||1||4||16|
|J. Dixon, SG||30||6-11||5-5||0||4||4||17|
|D. Martin, PG||12||5-7||0-0||0||4||1||10|
|J. Graham, SF||11||2-2||0-0||3||0||1||4|
|K. Humphries, PF||9||1-3||0-0||1||0||0||2|
|P. Sow, PF||2||0-0||0-0||0||0||0||0|
|U. Slokar, PF||2||2-2||0-0||0||0||0||4|
|A. Parker, SG||Did Not Play|
|J. Calderon, PG||Did Not Play|
|P. Tucker, SG||Did Not Play|
|Complete Box Score|