The 5.0.2 plugin with Max 2023 support should work well with UE4.27 as there was no fundamental changes between these two versions.
The 4.27 plugin will not receive any update in the future as development has stopped for this version of the engine.
Note that UE4.27 will not be compatible with the future 5.1+ releases of the plugin, due to Large world coordinate and mesh descriptor changes happening in UE5.1.
Cheers,
Antoine