Of the modern English translations of the Bible, it is only the King James Version of the Bible which uses the term “Holy Ghost.” It occurs 90 times in the KJV. The term “Holy Spirit” occurs 7 times in the KJV. There is no clear reason as to why the KJV translators used Ghost in most places and then Spirit in a few. The exact same Greek and Hebrew words are translated "ghost" and "spirit" in the KJV in different occurrences of the words. By "ghost," the KJV translators did not intend to communicate the idea of "the spirit of a deceased person." In 1611, when the KJV was originally translated, the word "ghost" primarily referred to "an immaterial being."
With recent Scripture translations, "Spirit" has replaced "Ghost" in most instances. Some of this came about because words don’t always hold their meanings. In the days of Shakespeare or King James, ghost meant the living essence of a person. Looking back, we see that "breath" or "soul" were often used as synonyms of "ghost." During these times, spirit normally meant the essence of a departed person or a demonic or paranormal apparition. As language evolved, people started saying "ghost" when speaking of the vision of a dead person while "spirit" became the standard term for life or living essence, often also for "soul." With slight exceptions, "ghost" and "spirit" changed places over some 300 years.
The real issue is that both "Holy Ghost" and "Holy Spirit" refer to the Third Person of the Trinity, coequal and consubstantial with the Father and the Son (Matthew 28:19; Acts 5:3,4; 28:25,26; 1 Corinthians 12:4-6). He is the gift of the Father to His people on earth to initiate and complete the building of the body of Christ (1 Corinthians 12:13). He is also the agency by which the world is convicted of sin, the Lord Jesus is glorified, and believers are transformed into His image (John 16:7-9; Acts 1:5, 2:4; Romans 8:29; 2 Corinthians 3:18; Ephesians 2:22). Whichever term we use, we remember that this Holy Ghost is God’s active breath, blowing where He wishes, creating faith through water and Word.