@skonduru - You have sufficient time so don't have to reschedule oath.
If you have in-person oath, you would get the paper certificate right away during your ceremony. If it is virtual, you can let them know during your ceremony about your travel plan and they would prioritize and issue your e-certificate the same day.
With your certificate in hand you can walk-n the same day or next day to Passport office. They have urgent and express options. Urgent is for next business day and express is if you need it in 2-9 business days. Take your flight tickets and any other documents you have related to your travel (hotel bookings etc). They will issue the passport accordingly. Urgent is $110 extra and express is $50 extra on top of regular passport charges.
You can also request reschedule of your oath by replying to the oath invite email but it can unnecessarily delay your application, as some office reschedule within a week of return and few are waiting for months! Also note that re-schedule of oath is also at the discretion of the IRCC officer and they sometimes do not entertain such requests.