Star Trek: The Next Generation
Encounter at Farpoint, Part 2
S1 E2:
On the way to a new star-base, the Enterprise meets an entity who puts the crew on trial for humanity's crimes.
Starring
John de Lancie, Michael Bell, DeForest Kelley