Whether a new router will change your IP address depends on the type of IP address you have and how it is assigned to you.
If you have a dynamic IP address, which is assigned to you by your ISP (Internet Service Provider), getting a new router may cause your IP address to change. This is because when you connect the new router to the internet, it will request an IP address from the ISP, and the ISP may assign a different IP address to the new router.
If you have a static IP address, which is a permanent, fixed IP address assigned to you by your ISP, getting a new router will not change your IP address. However, you will have to reconfigure the new router with the static IP address and other settings provided by your ISP.
It's worth noting that, when you connect a new router to your network, it will get a new IP address if DHCP is enabled on it, and if DHCP is not enabled, you will need to configure the new router with the IP address you have on the previous router. Also, some ISPs allow the use of a DHCP reservation, which allows you to reserve a specific IP address for a specific device (such as a router) within the DHCP scope.