"Final Judgments" by John Ostrander and Tom Mandrake.
The Phantom Stranger takes on The Spectre, along with his usual compatriots Dr. Fate, The Demon, and Zatanna:
...eventually, of course, the mad course the Spectre was on is stopped, and once again he becomes an avatar for justice. Thanks Phantom Stranger!