NEW YORK -- It has been 20 months since Masahiro Tanaka lost a regular-season game -- in any country.
Tanaka struck out a season-high 11, including Mike Trout twice, and overcame an early bout of wildness in a tight pitchers' duel with Richards. Neither starter received a decision, leaving both undefeated this year.
"Tanaka had it going," Yankees catcher Brian McCann said. "It was a good team win."
David Freese homered for the Angels, who went 4-5 on a tough road trip to Detroit, Washington and New York.
Tanaka walked four in 6 1/3 innings against the Angels, who began the day leading the majors in homers. The $155 million rookie was on the hook for his first regular-season loss since August 2012 in Japan until Teixeira homered leading off the seventh.
"Obviously, I was really happy that the score was tied," Tanaka said through a translator. "I was hoping that our offense could come back and put us back in the game."
New York broke the tie without a hit in the eighth, a rough inning for Angels catcher Chris Iannetta.
"It was a fastball right there, and I just missed it," Iannetta said. "One of the dumbest plays I've made in my career -- or not made."
McCann barely stayed alive with a couple of foul tips, and Maronde bounced a breaking ball in front of the plate. The ball ricocheted off Iannetta and far enough away for Ellsbury to score easily.
Adam Warren (1-1) fanned two in 1 2/3 scoreless innings. Robertson worked the ninth for his fourth save and second in two days, whiffing Ibanez seconds before security workers tackled a fan who ran into the outfield.
New York managed only three hits, winning a game with three or fewer for the first time since July 7, 2006, at Tampa Bay.
Tanaka had the most strikeouts by a Yankees rookie since Orlando "El Duque" Hernandez whiffed 13 Texas Rangers on Aug. 13, 1998. The team said his 46 strikeouts this season are the third-most since 1900 for a major league pitcher in his first five career starts, according to the Elias Sports Bureau. Herb Score (50) and Stephen Strasburg (48) were the only ones with more.
Tanaka is 31-0 combined in Japan and the United States over his past 39 regular-season starts. He did lose Game 6 of the Japan Series last year -- before earning a save in Game 7.
"First and foremost, I want to win the ballgame. But it would've been nice to give him his first loss," Richards said.
Richards took a two-hitter and a 2-1 lead into the seventh, when Teixeira launched a 2-2 pitch into the second deck in right field for his second home run since returning from the disabled list last Sunday.
It was Teixeira's first homer while batting left-handed since June 6, 2013. His season ended nine days later due to a right wrist injury that required surgery.
"That's my swing when I'm healthy. That's the swing that I want," Teixeira said. "It's a good sign that I start seeing results."
Freese sent Tanaka's first pitch of the sixth to right-center for his second home run with the Angels since they acquired him from St. Louis in a November trade.
Tanaka had an amazing ratio of 35 strikeouts to two walks in his first four starts, which covered 29 1/3 innings. But he struggled with his command early on this 54-degree night, walking a batter in each of the first four innings.
Albert Pujols even stared out at the mound after Tanaka backed him off the plate with two straight pitches in the third.
"Garrett was terrific. He had explosive stuff," Angels manager Mike Scioscia said. "I think both pitchers went toe to toe. We just couldn't get it done late."
The Angels have led in 10 of their 13 losses. ... A test on INF Yangervis Solarte's sore right shoulder showed no damage, New York manager Joe Girardi said. ... The Yankees are off Monday before Robinson Cano returns to New York with the Seattle Mariners on Tuesday night.
Eddie Rosario's 4-hit, 2-homer night gives Atlanta Braves 3-1 lead over Los Angeles Dodgers in NLCS
Eddie Rosario banged out four hits -- including two home runs -- to lead Atlanta over the Dodgers on Wednesday night and to a 3-1 lead in the NLCS.
Los Angeles Dodgers All-Star Justin Turner likely out for rest of postseason with hamstring injury
Dodgers manager Dave Roberts said the early indication is that Justin Turner has a Grade 2 hamstring strain. "So, I think that'll be it for him," Roberts said.
MLB playoffs 2021: Best plays and moments from Houston Astros-Boston Red Sox, Atlanta Braves-Los Angeles Dodgers
Wednesday had another double-header of league championship series action, with the Houston Astros and Atlanta Braves coming away with crucial victories.
Braves blast 4 HRs, beat Dodgers 9-2 for 3-1 lead in NLCS
— Behind the red-hot bat of Eddie Rosario, the Atlanta Braves are one win away from their first World Series appearance since 1999.
Rosario cranks 2 HRs as Braves put Dodgers on brink of elimination
Eddie Rosario hits a pair of home runs in the Braves' 9-2 Game 4 win vs. the Dodgers.
Framber Valdez, 'totally focused' after sluggish start to ALCS, carries Houston Astros to 3-2 lead
After a lackluster start in Game 1 of the American League Championship Series, Houston's Framber Valdez bounced back at Fenway Park on Wednesday, silencing the Red Sox bats in a Game 5 victory that put the Astros within one win of a World Series berth.