During chronic infection, the single celled parasite, Toxoplasma gondii, can migrate to the brain where it has been associated with altered dopamine function and the capacity to modulate host behavior, increasing risk of neurocognitive disorders. Here we explore alterations in dopamine-related behavior in a new mouse model based on stimulant (cocaine)-induced hyperactivity. In combination with cocaine, infection resulted in heightened sensorimotor deficits and impairment in prepulse inhibition response, which are commonly disrupted in neuropsychiatric conditions. To identify molecular pathways in the brain affected by chronic T. gondii infection, we investigated patterns of gene expression. As expected, infection was associated with an enrichment of genes associated with general immune response pathways, that otherwise limits statistical power to identify more informative pathways. To overcome this limitation and focus on pathways of neurological relevance, we developed a novel context enrichment approach that relies on a customized ontology. Applying this approach, we identified genes that exhibited unexpected patterns of expression arising from the combination of cocaine exposure and infection. These include sets of genes which exhibited dampened response to cocaine in infected mice, suggesting a possible mechanism for some observed behaviors and a neuroprotective effect that may be advantageous to parasite persistence. This model offers a powerful new approach to dissect the molecular pathways by which T. gondii infection contributes to neurocognitive disorders.