Cops: Driver shot at officer over ticket