Load the bootloader in an ATMEGA328PB

I suggest that you install the MiniCore core. Then you pick the options from a menu in the boards section of the Tools menu, connect the programmer and hit burn bootloader.