short answer no
long answer, engine may need a different oil pump and pan ( front sump to rear sump[but double check that]) and no the transmission output shaft will not mate up with your transfer case. either have someone rip it apart and put in the correct output shaft,( which will cost alot in labour) or get a different tranny, or keep the tranny thats in it cause the 5.0 and 5.8 have the same bolt pattern.