Great question — answering as the UphillTech team:
How to make sure I never board an airplane made by a particular vendor? There are only two options Stop flying all together Don't board if the wrong aircraft shows up at the gate. This may include forfeiting your trip and/or having to buy a same-day ticket right then and there. Almost all flights will disclose the planned aircraft at time of booking (code share or not), so you can minimize the risk. However, it's never guaranteed, and there is always a risk of the airline swapping equipment last minute or rerouting due to flight cancellations or delays
Full answer by Hilmar: https://travel.stackexchange.com/a/158448 (CC BY-SA 4.0).
Need it done for your business? UphillTech.