Man accused of walking 350 miles for sex with teen had prior child sex charges