IF the 351 is from a f series or bronco and was also automatic then it is a direct swap as far as motor mounts and transmission. if its efi then you need to find a computer for the 351 and your trans, there are different comps depending on if you have the AOD, or E40D becuase the E4OD has the electronic shift control that bebop mentioned.
the 351 and 302 or 5.8 and 5.0 use the same sensors and the same wiring harness, but the computers are programmed differently for the different fuel demand and air flow.
if the 351 is not an efi you can do what I said above about the comps, as well as put the required sensors, intake/ throttle body, and fuel rail if you wish to make it efi.
otherwise there are also ways to convert your bronc over to carb.
But with all that in mind, Why do want to swap out your 302? its alot of work for not much improvement if you just want the stock power increase.
http://www3.telus.net/cbradley/Engine_Specifications.html
15 hp and 40 ft/lbs over a 302 with at least 16 hours of wrenching