UA and GA4 can both be installed at the same time which is what we recommend as we find GA4 is still a very unpolished product. This way the UA interface can still be used and that data can be maintained while historical data for GA4 is collected for the eventual cut over to GA4 in a year from now.