The manufacturer doesn't state if the XS Sight Systems Lever Rail Ghost Ring WS for Marlin will fit a Marlin 336. However, I have also read that Marlin 336 bases will fit a Glenfield 30A. My suggestion would be to by the mount and sights separate so you can get the correct front sight. Or I recommend contacting the manufacturer in regards to a specific model that will fit your gun and has a dovetail front sight.
The XS Sight Systems Lever Rail Ghost Ring WS for Marlin model 308MX should be compatible with the Marlin 338MX, however, I would contact the manufacturer to confirm.
It is designed to work with the factory holes. You can find installation instructions here: https://www.xssights.com/ITEMMEDIA/10045/Marlin%20Lever%20Rail%20Insert%202017.pdf