Chrysler Corp. said yesterday it lost $96.1 million in the fourth quarter of 1982, but made a profit of $170.1 million for the year.

The full-year profit was the company's first in five years and came mainly from the sale of its defense subsidiary, according to the nation's third-largest automaker.

The fourth-quarter loss stemmed mainly from a strike by 10,000 Canadian workers during contract talks. In the fourth quarter of 1981, Chrysler lost $66.9 million.

For the year, the profit came to $1.84 a share. In 1981, Chrysler lost $475.6 million.

During the year, Chrysler also posted three consecutive quarterly profits, the first time that has happened since 1977, Chrysler Chairman Lee Iacocca said in a statement. Chrysler's last profitable year was 1977, when it earned $163.2 million.

B.F. Goodrich, one day after announcing additional plans to restructure its operations, Wednesday reported losses of $32.8 million, or $2.43 a share, for 1982.

In 1981, Goodrich had earnings of $109.5 million, or $5.75 a share.

The manufacturer of tires, plastics, chemicals and engineered products reported 1982 sales of slightly more than $3 billion, compared with $3.2 billion the previous year.

Goodrich officials said the loss was the result of the poor economy and an estimated cost of $19.9 million to restructure several of the company's operations.