A startup that connects private pilots with passengers is challenging the Federal Aviation Administration in federal court over the agency’s effective ban on the flight-sharing service, taking the battle between regulators and the sharing economy to the skies.

Flytenow Inc. connects passengers with private pilots offering a seat on their small planes in exchange for a share of the flight costs.

Flytenow...