if it fits, it may, depending on the bios. if you've got it in your hand... put it in and boot up. depends on motherboard and bios. check it next to the "old" ram and if the slot is the same, it should. when your computer starts, f2 to see the bios and check what the bios reads as ram. if it says "however many mb" of ram is correct, then yes, it's working.
if it doesn't work, the computer won't boot. no worries, put in your old ram and reboot.
P.s. do all of the chip handling with the power off!