$4 raise is slight overplay of hand but it's all fine if opponent donks with wide range and calls flop raises without top pair (like with Jack on that board).

But $5 turn bet turns your hand into air unless opponent is real calling station donk or thinks you are Gus Hansen. Check that turn behind.