Then it is not possible to perform this change without a service interruption. I'd suggest to plan a maintenance window and perform the steps I described above.
> The fact that i have switches connected to the router is changing in any way my plan?
> I was wondering if i need to bring offline the MPC
No, there is no change with Switches connected. You have to bring down the whole router before you plug out the only RE which is inserted. The Router is not able to work without any RE inserted. As the old and the new RE have different JUNOS releases installed, they are not compatible to each other.
In theory you can upgrade the existing RE to the new JUNOS release, insert the new RE, configure all the redundancy protocols (NSR, NSB, GR, ...), switch RE mastership and remove the old RE. But this means that you have an outage as well during upgrading the existing RE to JUNOS 17.3. So there is no possibility to do the replacement without any service impact.