Former Marshall pastor sentenced to 2 years for online solicitation