PC2 5400 and xp home

That's DDR2-667 RAM. Yes, it will.

I saw your other post about Core2 CPU's.

A better approach for you would be to go to the Homebuilt section, give your budget and purpose of computer, and ask for suggestions for system configurations. There are regulars who are very good at that.

I am, alas, not one of them. :(