A stock exchange is handled the same way as a stock spinoff or any other investment where there is no taxable event.1) Sell the old stock at cost.
2) Buy the new stock for the same amount as the cost of the old stock. This way there is no change in the cash balance. Also the new stock has the same cost basis as the old stock. Use the purchase of the old stock since it is an exchange.
3) Lastly since the old stock should not appear on the Schedule D, then change the tax code of the old stock to "no tax effect.