Are you sure it fits? The contacts are arranged differently in the original (see picture), and this can also be seen in the circuit diagram.
Yes, it will work. You will have to do some soldering work and test that it does what you want. It's not an exact replacement.