Is there a baseball or basketball term equivalent to football's "Hail Mary"?

It’s not really in the spirit of the OP, as it can be (and is) used anytime during the game, but the alley-oop in basketball involves the long throw and dramatic scoring idea. While it can be used in desperation, you generally see alley-oops used by teams that are dominating offensively.