Upgrading your CPU to anything from the last 3 generations is going to require a motherboard and memory also. It'll be very hard to do that under $300.
My advice at this point is to keep saving up until RAM prices drop. Then you'll have more money and things will be cheaper. You'll be able to get something on AM5 then.