Government plans to get more people into work will stop them being left on the scrapheap, a minister has said during a visit to York.