That does look like a replacement. The cracks are just evidence of heat which may or may not have caused it to go bad. That bullet looking thing at the top of the resistor is a fuse I believe and if you have a multimeter you can test whether or not it is good.

Did it stop working on all speeds or just certain ones?