Lol, tough spot
Well first of all I like very much how you played this hand until the river. On the river you need to be ahead in 1 out of 6 times, which is 16% btw... I think I'd call

it's a bit meh but I could see him playing like AKo in this way too if he's a fish, and that $1 bet could then mean he's scared of the flush rather than he actually has it himself.
So.. I'd call. But I don't see a very big mistake in folding either