Yes, federal law overrules state law... But only if its constitutional to begin with. Gun control isn't.
there's a great book called "The Tempting of America" by the late Robert H. Bork, about the constitutionality of federal laws, written in a chronological historical way. a must read for constitutionalists! most federal law is unconstitutional... won't stop em...