"The Tale of the Carved Stone"
is an episode of Are You Afraid of the Dark? starring
Frank Gorshin, Richard M Dumont, and John White.
A new girl in town trying to makes friends buys a magic stone, which causes her to go back in time to the 1890s to meet another lonely child who lived in the house.