RAW you can't switch weapons without using an action for it.
I think it's pretty clear on that:
1. You get one action, one bonus action, one reaction and one object interaction per round.
2. One object interaction would be "Drawing a weapon", another one "Sheathing a weapon", a third one...