The stock exchange matches buyers and sellers. The stock price is the average price the stock was trading that day. You can sell stock at any price but if it's too high you won't have many buyers.
will the stock price tick to $50 for that one transaction ?