Using sonar and PX4FLow

You have to physically remove it (disconnect or unsolder) from the PX4FLOW
Yes the TFMINI is a good alternative beacause its in the same price range and can be uses on serial device type or I2C witj this add-on : How to make the TFMINI rangefinder talk I2C