JACKSONVILLE, Fla. – A federal judge has ruled as a matter of law that United Parcel Service, ­Inc. violated federal law by failing to accommodate and then firing an employee because of his disability, the U.S. Equal Employment Opportunity Commission (EEOC) announced today.