JOHANNESBURG, SEPT. 5 -- A three-way exchange of prisoners among South Africa, Angola and the ostensibly independent tribal "homeland" of Ciskei was announced tonight by South African President Pieter W. Botha.

As part of the swap, South African Army Maj. Wynand du Toit, who was wounded and captured during an attack on the Angolan oil-producing port of Cabinda two years ago, will be released. The Angolans also will turn over the bodies of three South African soldiers who were killed in Angola.

For its part, South Africa has agreed to release a Dutch fugitive, Klaas de Jonge, who for two years has lived in offices maintained by the Netherlands Embassy in Pretoria. He escaped from custody in July 1985, after being arrested on terrorism charges linked to alleged activities on behalf of the outlawed African National Congress.

De Jonge, whose former wife, Helen Pastoors, was sentenced to 10 years' imprisonment for treason, had remained in the Dutch embassy offices under a heavy South African security guard. He turned 50 last week.

Botha also confirmed that a French national, Pierre-Andre Albertini, who was sentenced to four years in prison earlier this year by the government of Ciskei for refusing to testify in a terrorism trial, would be released as part of the exchange.

French President Francois Mitterrand had refused to accept the credentials of South Africa's ambassador to France as long as Albertini remained in prison.

The exchange, which had been rumored for weeks, also will result in the release of 133 Angolan soldiers captured in an "operational zone" of southern Angola that is routinely patrolled by South African troops.

In a statement tonight, Botha said several governments had been involved in negotiations leading to the exchange. The swap was announced earlier today by Angolan President Jose Eduardo dos Santos and by the office of French Prime Minister Jacques Chirac.

Botha said tonight, "The South African republic is particulary pleased that Major du Toit will be returning to his family and his fatherland."

South Africa repeatedly had said du Toit's release remained a top priority. He is the only South African serviceman still being held by a neighboring African state.

Botha previously had said that if du Toit was released, he would consider releasing African National Congress leader Nelson Mandela.