A federal judge issued a preliminary injunction blocking a California board's effort to ban gun shows from a San Diego County fairground.