Herrera accepted a football scholarship from UCLA where he was a placekicker for the football team and a forward/midfielder for the soccer team. In 1971, Herrera became a starter and against the University of Washington, he set the school record for made field goals in one game. In the opening game of the 1972 season, he kicked the game-winning field goal, with 20 seconds left, in the 20–17 upset of two-time defending national champion Nebraska. In 1973, he broke the school's PATs attempted and made record. In 1974, he led the nation in kick scoring. During Herrera's career, the UCLA Bruins football team regularly finished among the leaders in the nation in scoring, which helped him leave as the school and NCAA career leader in scoring with 368 points. He also set the 7 career records including PATs attempted and made. The UCLA soccer team also made it to the NCAA Finals in 1972 and 1973 while Herrera was a player, losing both years to Saint Louis.
Herrera was selected by the Detroit Lions in the seventh round of the 1974 NFL Draft. He was also selected in the third round by the Los Angeles Aztecs of the NASL Draft. He is distinguished as being the second Mexican born player to be drafted into the NationalFootball League. He was waived on September 12.
On October 3, 1974, the Dallas Cowboys signed Herrera as a free agent after kicker Toni Fritsch was lost for the season with a knee injury and Mac Percival made 2 out of 8 field goal attempts in the first 3 games. The next year, he was lost with a knee injury in pre-season and was placed on the injured reserve list. In 1976, Herrera competed with Fritsch to regain his starting job in pre-season and tied for the league lead in field goal percentage with 78.3%. He also became proficient doing "pooch kicks". In 1977, Herrera made 18 out of 29 field goals, 39 extra points, was the second leading scorer in the NFL, had a career-long 52-yard field goal against the Washington Redskins and tied the league record for most field goals attempted in a game. He was an All-Pro selection and made the 1978 Pro Bowl at the end of the season. He also helped the Cowboys win Super Bowl XII. On August 14, 1978, Herrera was traded to the Seattle Seahawks in exchange for a fifth round draft choice, because of a contract holdout. He left with the top career field goal percentage in franchise history. The Cowboys replaced him with Rafael Septién.
Seattle Seahawks
In 1978, he underwent appendectomy surgery following the 15th game of the season and came back the next week against the Kansas City Chiefs to make a 31-yard field goal and 2 out of 3 extra points. In Seattle he became a fan favorite as part of a special teams unit that was known for its fake field goal plays, where he had to pass, catch, block and run. In 1979, he recorded a career high 100 points and was third in the league with an 82.6% field goal percentage. The next year, he set club and career records for most field goals in a season and in a game. In 1981, he made a career-long 54-yard field goal. He was placed on the injured reserve list with a knee injury on November 16. He was waived in favor of rookie Norm Johnson on September 8, 1982.
Buffalo Bills
On September 20, 1982, Herrera was signed by the Buffalo Bills to replace Nick Mike-Mayer during the strike abbreviated season. He was released on July 11, 1983. At the time he ranked second all-time in career field goal accuracy with 67.8%.
On January 25, 1984, Herrera was signed by the Chicago Blitz of the United States Football League. He was released on February 24.
Oklahoma/Arizona Outlaws (USFL)
On March 15, 1984, Herrera signed with the Oklahoma Outlaws of the United States Football League. On December 4, the team merged with the Arizona Wranglers. On January 25, 1985, he was released after the team acquired Luis Zendejas.