A federal judge ruled on Tuesday that a New York City law mandating food delivery companies to share customer data…