Can a engine from a 1996 2.5 work in a 1997 with a 2.5 on 1996 Subaru Legacy Outback

Switched engine now ck engine light is on shows po400 egr prob butt no ck engine light was on in either car before engine swap do i have to change ecm feom other car?

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
call your local wrecking yard they will know