Pilot accused of threatening to shoot airline captain mid-flight to make first court appearance