No, your historical UA data will remain intact. However, GA4 does not automatically import historical UA data.