The Dark Jedi came first. The term "Dark Jedi" (or "Fallen Jedi") describes Jedi who rejected the light side—or who were trained by Dark Jedi and turned as a result. After a devastating conflict known as the Hundred-Year Darkness, the Dark Jedi were exiled to the planet Korriban, homeworld of the Sith species.
The Sith took in the exiles, and over generations the two interbred, giving rise to the Sith Lords—the modern face of the dark side. Eventually "Sith" replaced "Dark Jedi" as the label for powerful dark side users because of that lineage. Because their teachings spread across the galaxy, one can now be a Sith without being descended from them (Darth Sidious, Vader, and Maul are examples). Notably, Sidious later revived "Dark Jedi" as a rank for Force-sensitive soldiers in his Second Imperium.