A 14-year-old boy has been charged with second-degree murder in connection with a fatal shooting in Ocala last year.