A federal judge in the District of Columbia refused on Wednesday afternoon to block the city's ban on gun possession on its public transit systems.