A federal court judge on Tuesday threw out the state's ban on political contributions from principals in casinos. THe suit was brought by a shareholder in the Sands Casino Resort Bethlehem.