Will this do? I’m assuming you want a part for a board rather than the A to B cable (which can be created with the parts above and a wire, although they won’t connect in schematic to either the mega or PI 4b as neither of them have connectors on the USB port.) Otherwise a data sheet for the socket you want would be needed to make a custom part.
edit forgot the post!
edit1
There are also connectors in core parts. Enter
usb B connector
in the search box to bring them up.
Peter