2001 dodge intrepid

I have a 2001 dodge intrepid with the 2.7L moror that died on me. I was wondering if it can be replaced with the bigger 3.2L motor?