Actually the "remnant of Edom" is the "residue of men" [The word "Edom" is probably a miscopying of the word "adam" meaning "man"] and "heathen, Gentiles, nations" is how the Hebrew "goy" is translated. So still just two groups.
With that in mind, I believe that probably either 1) James had a text where the vav was missing , thus reading אדם
OR 2) (my preference, since I am just too "married" to inerrancy of the scriptures and tend to "cheat" in that direction whenever I get a problem like that James was working with a kind of "LIVING BIBLE" paraphrase he was doing on the fly, and giving the text its true meaning in kind of a sermonic manner, rather than simply quoting it.
You are right of course about הַגֹּויִ֔ם plural "im" translated "heathen"
I hope you know I was just yanking your chain a bit. I didn't really think there were 4 different kinds of folks here. As a matter of fact, I don't see how you distinguish between הַגֹּויִ֔ם and אֱדֹום֙ I have always viewed The edomites as "standing in" as a symbol for all heathen. They certainly do in other spots.
DANG! It has been 30 years since I did any Haybru with Brother Billy Bob's Traveling Salvation Show Review. I am surprised I can still read the stuff! It is not exactly in high demand for commodity traders, loan brokers, insurance brokers and money managers (my hats, depending on what day you get me).
cheers,
DoP