The setting of a story refers to the place and time where the events in a story occurred. The setting of the story, "Soldier for a Crown" is in a ship of redeemed slaves headed to Nova Scotia. The timing of the events was during the American Revolution when some African slaves escaped from their masters to join the British troops. The setting shaped the portrayal of the plot by serving as an exposition into the story.
The exposition is the background of a story that the author builds on. In this story by Charles Johnson, the setting serves as a background description of why the slaves were bound to Nova Scotia.
It was the period of the American Revolution. Slaves who joined the British troops were rewarded by being freed of slavery.
Thus, we see the story begin with a description of the former slaves aboard a ship en route to Nova Scotia.