How do I say "the school was sold to that big company"?
The position of 给 in the first sentence you have is correct, you would just add 了 to indicate the completion of the act to make it flow better


  那所学校被卖给那个大公司了