Text this: Solving Sparse Random Instances of Max Cut and Max 2-CSP in Linear Expected Time