Phil Trainer's second-half goal secured AFC Telford United's place in the Blue Square Bet Premier for next season.
Trainer scored what proved to be the Bucks' winner, drilling in Chris Sharp's cross from close range.
Ryan Brooke went close for the hosts with a long-range strike while Liam McDonald and Iyeseden Christie both had efforts saved by Telford's Ryan Young.
The result means only Hayes and Yeading or Newport, who drew with Darlington, can mathematically go down.
However, Newport have all but secured a place in non-league's top tier next season as they hold a plus-22 goal difference and a game in hand over relegation rivals Hayes.
VIEWS FROM THE DRESSING ROOM
AFC Telford manager Andy Sinton told BBC Radio Shropshire:
"It's been a hard ten months but we've got over the line.
"It was never in any doubt for me (but) I'm sure there were a few people around who thought we'd slip through the trap-door.
"I've got my faith in the players and I've got my faith in the people at the club, I'm delighted for everyone.
"I'll enjoy tonight, I'll reflect on the season but I'm exhausted to be honest."
Sorry, we were unable to load match stats, please try again.