No.
The child has exactly half its DNA from each parent.
There are 23 pairs of chromosomes in each of us, i.e. 46 chromosomes in total. For each pair, we get one chromosome from our mother and one from our father. One of those 23 pairs is the X and X/Y pair.
Males have an X and Y chromosome. Females have two Xs. Therefore, the sex of the child is determined purely by whether the child gets the X or the Y chromosome from the father: the corresponding one in that pair comes from the mother, so is always an X. Unless something goes really badly wrong.
Boars have 18 pairs of chromosomes (36 in total). Pigs have 19 pairs (38 in total). Unravelling that is impossible. Even if the number of chromosomes were the same, it would take two lots of 2^38 offspring to be alive at the same time, one of which is male and the other female. Anyone fancy 2 lots of 274,877,906,944 pigs to search through? Anyone know where to keep 549,755,813,888 pigs without the Greens noticing?
On selecting traits to get something that looks like a boar is much easier, but the genes would be quite different to those of a wild boar.