Irrigation sprinkler only comes on for a moment?
You most likely got dirt or other debris in the line going to the faulty sprinkler head during the repair job. I would suggest removing the faulty head and then turn on that sprinker circuit to flush the line out. If there are other heads down stream from this head you should also remove those one by one and flush them as well. Finally take a good look at the "faulty" head and make sure that dirt did not get inside and cause it to malfunction. Most pop-up heads can be disassembled to permit inspection and removal of dirt and grit.