Affirm shares rose 33% on Thursday after the buy-now-pay-later lender trounced estimates for quarterly results and said it expects to be profitable by the fourth quarter of next fiscal year, sooner than Wall Street had forecast.