Temporal switching induced by cascaded third order nonlinearity.