#include <bits/stdc++.h>
using namespace std;
string a = "abacaba";
bool check(string s) {
  int d = 0, i;
  for (i = 0; i < s.length() - 6; i++) {
    if (s.substr(i, 7) == a) d++;
  }
  return (d == 1);
}
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n, i, j;
    string s, res = "No";
    cin >> n >> s;
    for (i = 0; i < s.length() - 6; i++) {
      string k = s;
      for (j = 0; j < s.length(); j++) {
        if (s[j] == '?') {
          if ((j >= i) and (j - i < 7))
            k[j] = a[j - i];
          else
            k[j] = 'd';
        }
      }
      if (check(k)) {
        res = "Yes\n" + k;
        break;
      }
    }
    cout << res << endl;
  }
  return 0;
}
