Up until the early '80's, the 351W was considered a car engine.
Anyways, if it is an automatic and has a W or C transplanted then the tranny would also have to be swapped. The M has the same bell housing as the 385 series 429-460. If it is a manual a simple bell housing swap.