TACOMA, WASH., AUG. 5 -- The Soviet Union won a penalty-shot shootout to defeat the United States, 4-3, today to claim the hockey gold medal at the Goodwill Games.

It was the closest the Americans have come to beating a Soviet national team in an international event since 1980, when the "The Miracle on Ice" team won the Olympic gold medal at Lake Placid.

The United States led by 3-2 in the final minute, but Valeri Kamensky sent the game into overtime with his third goal of the day with 21 seconds to go.

In the shootout used following a scoreless 10-minute overtime, the Soviets outscored the United States, 2-0, through four shots. Alexander Semak and Dimitri Khristich beat goalie Guy Hebert.

Soviet goalie Artur Irbe had little trouble with the U.S. shooters, easily stopping Tim Sweeney, Tony Amonte, Scott Harlow and Joe Sacco.

The Soviet Union struck first in the game as Kamensky scored 4:29 into the game.

But the Americans, humbled, 10-1, by the Soviets in a preliminary round, played tough defense, seldom allowing the Soviets a clear shot at Hebert. The Soviets fired 36 shots in regulation to just 17 by the United States, but few of the shots were from in close.

The United States bounced back in the second period, scoring two quick goals to the delight of a Tacoma Dome capacity crowd of 17,442, which waved American flags, chanted "U.S.A., U.S.A." and booed loudly at every perceived Soviet infraction.

Sweeney's slap shot after he was fed the puck from the corner behind the Soviet net tied the game at 6:23. Just over a minute later, David Emma passed to C.J. Young of Harvard, whose shot from in front of the net got past Irbe.

With both teams short a man, Kamensky tied it, 2-2, at 15:09 by taking the puck down the ice and firing it past Hebert from the left.

But Emma, of Boston College, returned the favor 33 seconds later, beating the Soviet defenders down the middle of the ice after blocking a shot and beat Irbe at short range.

Boxing for Gold

Eric Griffin (106 pounds) and Oscar de la Hoya (125 pounds) won gold medals in boxing.

Griffin, of Houston, easily outpointed Anatoli Filippov of the Soviet Union, 5-0. In the final round, he rocked the Soviet with right-left combinations, and piled up points with inside flurries. De la Hoya, of Los Angeles, beat teammate Ivan Robinson, 4-1, in a rematch of the U.S. Amateur final earlier this year, and the scoring was the same.

The Soviet Union finished with five gold medals and four silvers; the U.S. team won four golds and four silvers. Cuban fighters won two golds.

Yevgeni Belousov of the Soviet Union scored a 3-2 decision over Larry Donald of Cincinnati in the super heavyweight class, and Terry McGroom of Chicago dropped a 5-0 decision to Soviet world champion Andrei Kurnyavka at light heavyweight. . . .

Jan Hempel of East Germany scored the biggest win of his career, taking the 10-meter platform diving. Hempel, fifth in the 1988 Olympics, beat China's 16-year-old Xiong Ni, the Olympic silver medalist and World Cup champion. Matt Scoggin of Austin, Tex., won the bronze.

Four Athletes Test Positive

Four athletes who competed in the Goodwill Games have tested positive for banned substances, officials said.

Neither the athletes nor their sports were identified by officials of the Soviet-American Joint Commission Against Doping, which supervised testing for the 21-sport competition.

Two of the positive tests involved over-the-counter drugs, but Baaron Pittenger, co-chairman of the commission, would not elaborate. "We've said what we are going to say," he said.

Pittenger said the positive tests were reported to the various sport federations for action. Of the 587 tests scheduled to be conducted, 493 from 18 sports had been analyzed, said Pittenger.

"We told the national governing bodies that there would be no announcement on results," Pittenger said. "But we felt the aggregate results were so pleasing that we made this announcement."