Planet of Judgment
(Star Trek Adventures, book 7)
Joe Haldeman