Same year should work; at least the signals and such expected are the same. Only V6 to V8 poses a problem there (but not your situation).
An aftermarket temp gauge would likely require its own sender (depends on the gauge). If you intend to use it and not use the factory temp gauge, you could remove the factory gauge sender and install whatever sender matches the gauge.