The amount of RAM which can be used in a Windows operating system depends on the address space. A 32-bit operating system has an address space of 4GB. There are other processes which use the space, this means that the address space available for RAM is usually between 3GB - 3.5GB. The only way around this would be to purchase a product code for a 64-bit operating system and install a windows 10. You can not use the 32-bit product code to install a 64-bit version of Windows 10.
You can use the Media Creation Tool to create Windows 10 installation media for a disc or flash drive for a 64-bit version of Windows 10.
There are three options, use the second option Using the tool to create installation media (USB flash drive, DVD, or ISO file) to install Windows 10 on different PC.