Yours, Etc.: Origins and Uses of 8 Sign-Offs
in the figurative sense of "something unlikely," 1867, from long (adj.) + shot (n.). The notion is of a shot at a target from a great distance, thus difficult to make. Cinematic sense is from 1922.
: a long-shot victory
not by a long shot