A defamation suit against Rolling Stone over its explosive and later discredited story about a fraternity party gang rape can go to trial, a federal judge ruled Thursday.

The case centers on the magazine’s November 2014 article, “A Rape on Campus,” which described a brutal alleged sexual assault of a female college student at a University of Virginia fraternity house and depicted school officials as indifferent to her plight.

The...