header question

I’m putting a 340 in a non a body so I need to know if headers off a Dakota with a magnum motor will bolt to my 340 heads. Thanks guys