A former pastor in Alabama has been sentenced for embezzling hundreds of thousands of dollars from the church.