2013 chrysler 300 engine swap

Im planning on changing out my engine i have a 3.6l v6 right now but want to but a 5.7l v8 i looked online and saw a couple options for engines i ran into a 2013 5.7 right below 60k miles but i then saw a 2022 engine same thing 5.7l v8 right below 20k miles and im not sure if it would fit it and if so what else do i need to upgrade electronically to have a 2022 engine.cause having a newer engine with low miles is probably better than an older one with more miles. Any help tips and advice would be really appreciated.
Author: zeus