Replaced chip now sketches won't upload

I burnt up my chip on my UNO R3. I got a new chip from amazon with the bootloader preloaded.
I replaced the chip with this one

https://www.amazon.com/gp/product/B004G51AMW/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

but now when I try to load a sketch I get this error.

Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Arduino Uno"

Sketch uses 924 bytes (2%) of program storage space. Maximum is 32256 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xd6

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xd6

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xd6

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xd6

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xd6

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xd6

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xd6

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xd6

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xd6

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xd6

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I have another UNO that works with the same usb cable. It's listed as COM 4 but when I unplug it and plug the older arduino in with the new chip using the same cable and plug it into the same usb port, it shows up as COM 5. Im not sure if there is a fix for this or if it's just broken. Thanks.

The change in con port is not an issue, just select the right port from the tools menu.

Have you put the chip in the right way up ?

Yes the chip is in the correct way

There are 2 options when you select the chip. One has an optiboot bootloader and the other is old bootloader. Try switching.

try reflashing the bootloader of the new atmega328p, as the seller may have messed up the bootloader