An Oklahoma federal judge ruled that a federal law prohibiting people who use marijuana from owning firearms is unconstitutional.