If you have a cash account you can buy before the settlement date of other shares you sold t+3, but now you can't sell this until the third day when the money is cleared or it will be a violation, look into a margin account