Yikes. I would have to fold. Once he check/calls the flop I'd put him on a pair, two hearts, maybe J-x. I think betting the turn is OK to protect against hands like 77 with a heart, and once he min-raises he probably even gives you odds to try to get a boat, so calling is OK. But on the river... I mean he's spazzing out with some hands, but I don't see hands like Ah4c just shoving the river like this.

In fairness I don't analyze these spots well while playing and probably would have snapcalled and berated him in chat.