The best you could get for $40 is probably a gt240. It's an older-gen card, but will perform nicely for the money, and uses less power than many other options (due to its 40nm die).
I would guess that even that 300w psu could handle it, but maybe someone with more experience could post...