Drivers for Uber Technologies Inc. will get their day in court.

A California federal judge has set a trial date of June 20, 2016 for a class-action lawsuit that could help decide the employment status of Uber drivers, according to the lawyer representing the plaintiffs.

The case, O’Connor v. Uber, concerns the ride service’s classification...