The Transition from Brownian Motion to Boom-and-Bust Dynamics in Financial and Economic Systems