53 New Yorker 5.7 Hemi 545rfe swap

I
I was told yesterday that it will not start unless I program the pedal.
How do I program the pedal?
It's a 2012 5.7 out of a charger with a 2008 545rfe out of a ram 1500View attachment 1715569010
Any help is appreciated
Thanks Ken
You will need a scan tool capable of performing that function (Autell, Snap On, OTC, or factory, NOT a code reader). Depending on the brand of scan tool it will be under ; "additional procedures", "miscellaneous functions ", or "system tests". From there you want to finde "learn ETC" (electronic throttle control) or "learn APP" (accelerator pedal position). It will tell you what to click and when to hold and release the pedal. If there is a wiring problem then it will stop you with an error message.