They are technically different, different part numbers and all. However, I have swapped them without a problem. The difference, if any, should be slight.
You can do testing on the AFMs to compare, but in a pinch you CAN swap them to get you on the road.
You can also use an MR2 AFM and a 88 RX7 AFM.