A state judge has refused to block New York's tough new gun law in a lawsuit by more than 1,000 people who claim it violates the state constitution because it was passed too quickly and restricts the rights of its citizen militia.