League One side Mansfield Town come from behind to beat Premier League strugglers Burnley and reach the fifth round of the FA Cup for the first time since 1975.