How can you fix a toilet in the basement on a sewage ejector pump if when you flush it a large bubble of air comes up from the waste pipe out through the bowl?

Check to see if the tank is full... if it is check why the pump is not emptying it. If it is empty then there is probably a clogged or missing vent.