Chaotic Transitions in Deterministic and Stochastic Dynamical Systems