Question: is selling then buying a day trade?
Answer: Buying and selling a stock during a single market day is known as day trading. Selling a stock then buying the same would also qualify as a day trade.