A man whose brother was beaten to death five weeks ago was charged yesterday with the Tuesday night shooting death of another man at a Columbia Heights apartment building, police said.

Officers are investigating a possible revenge motive in the Tuesday killing of Apoliano Perez, they said, because Perez reportedly had told neighbors he had been involved in the fatal Feb. 20 beating of Santos Coreas on Porter Street in Northwest.

Yesterday, police obtained a Superior Court warrant charging Florencio Coreas, 30, of the Columbia House apartments at 1460 Columbia Rd. NW, with second-degree murder in connection with Perez' death. Police said he surrendered last night.

Perez was found dead at the foot of basement stairs of the three-story building. He had suffered several bullet wounds to the chest.

Police had no fixed address for Perez, but tenants of Columbia House said he was among several recent immigrants from El Salvador who have moved there in recent months.

According to police sources and several tenants of the apartment house, Florencio Coreas had told police following his brother's killing that Perez claimed involvement and also was threatening him. However, police said they were unsure of the motive of the Feb. 20 killing, and no charges were ever brought against Perez in connection with it.

Police records show that a man identified only as "Julio" was charged with killing Santos Coreas.