The goal for Hoskins came just before the hour mark after Leon Clowes had given Wrexham a first half lead.
Preston remain top with 10 points from 5 matches. Burnley move up to second after their 6-0 victory over Morecambe on Tuesday. The Clarets have 7 points from 4 matches and are one point ahead of Tranmere and Morecambe who are third and fourth.