The type numbers you give are those of the CPU not the fan.
CPU fans tend to be fairly standard for a particular mother board/processor type. What matters is that they must be working efficiently.
I'm pretty sure that the old fan would be alright, but if you are buying a new processor it seems wiser to buy a new fan at the same time.
Some "offers" include a new heat sink and fan as part of the deal, just make sure if you buy, that it is the appropriate one for your mobo and CPU.