A pilot accused of threatening to shoot a commercial airline captain who wanted to divert a flight to get medical attention for a passenger was set to make his first federal court appearance Thursday. Former Delta Air Lines pilot Jonathan J. Dunn was indicted by a grand jury Oct. 18 and charged with interfering with…