You can actually purchase the other stock with the unsettled funds, but you can't sell them back until the three days clear. As Don mentioned, if you switch it to a margin account you don't have to wait for settlement, but you do have to be careful of daytrading rules if you have an account under 25k.