A proposed merger between two of the country's largest grocery store chains was blocked by a federal judge Tuesday.