If the contract doesn't specify you have to stay there...
Take the job, if you get into grad school then quit :-). Although that probably means you won't be able to use them on your CV... they'll probably hate you.
Take the job offer! Show me the money!
Take the job offer and work it for 1 to 2 years. Then go to grad school.
No money? Ha, I can take it. Bring it on, world. Plow through and go to grad school now!
Become a combination African Safari master / archaeologist who programs C in his spare time.
If the contract doesn't specify you have to stay there...
Take the job, if you get into grad school then quit :-). Although that probably means you won't be able to use them on your CV... they'll probably hate you.