Programming Amiga Kickstart with TL866CS
Just pulled the datasheets...
AM27C400

AM27C4096

Quick check reveals they're absolutely not the same, so even if you program it, that won't be compatible with the Amiga.
Don't plug it in either, with the power supply pins in the wrong place the PROM will probably smoke and cause other collateral damage on your board.