US pilot charged for allegedly threatening captain